You've already forked lazarus-ccr
* Fix InvalidateColumn when header is visible
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -28817,6 +28817,9 @@ begin
|
|||||||
if (FUpdateCount = 0) and FHeader.FColumns.IsValidColumn(Column) then
|
if (FUpdateCount = 0) and FHeader.FColumns.IsValidColumn(Column) then
|
||||||
begin
|
begin
|
||||||
R := ClientRect;
|
R := ClientRect;
|
||||||
|
//lclheader
|
||||||
|
if hoVisible in FHeader.FOptions then
|
||||||
|
OffsetRect(R, 0, FHeader.Height);
|
||||||
FHeader.Columns.GetColumnBounds(Column, R.Left, R.Right);
|
FHeader.Columns.GetColumnBounds(Column, R.Left, R.Right);
|
||||||
InvalidateRect(Handle, @R, False);
|
InvalidateRect(Handle, @R, False);
|
||||||
end;
|
end;
|
||||||
@ -28862,7 +28865,7 @@ begin
|
|||||||
R.Bottom := ClientHeight;
|
R.Bottom := ClientHeight;
|
||||||
//lclheader
|
//lclheader
|
||||||
if hoVisible in FHeader.FOptions then
|
if hoVisible in FHeader.FOptions then
|
||||||
Inc(R.Bottom,FHeader.Height);
|
Inc(R.Bottom, FHeader.Height);
|
||||||
InvalidateRect(Handle, @R, False);
|
InvalidateRect(Handle, @R, False);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user