mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-22 04:08:17 +02:00
Examples: Prevent merged header cells in merged_cells demo being drawn as selected.
git-svn-id: trunk@63790 -
This commit is contained in:
parent
e9f700554a
commit
02e9b21883
@ -174,7 +174,7 @@ procedure TMCStringGrid.PrepareCanvas(aCol, aRow: Integer;
|
|||||||
var
|
var
|
||||||
L, T, R, B: Integer;
|
L, T, R, B: Integer;
|
||||||
begin
|
begin
|
||||||
if IsMerged(ACol, ARow, L, T, R, B) and
|
if IsMerged(ACol, ARow, L, T, R, B) and not (gdFixed in AState) and
|
||||||
(Col >= L) and (Col <= R) and (Row >= T) and (Row <= B) and
|
(Col >= L) and (Col <= R) and (Row >= T) and (Row <= B) and
|
||||||
not ((ACol = Col) and (ARow = Row))
|
not ((ACol = Col) and (ARow = Row))
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user