mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 04:38:13 +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
|
||||
L, T, R, B: Integer;
|
||||
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
|
||||
not ((ACol = Col) and (ARow = Row))
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user