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
|
||||
begin
|
||||
R := ClientRect;
|
||||
//lclheader
|
||||
if hoVisible in FHeader.FOptions then
|
||||
OffsetRect(R, 0, FHeader.Height);
|
||||
FHeader.Columns.GetColumnBounds(Column, R.Left, R.Right);
|
||||
InvalidateRect(Handle, @R, False);
|
||||
end;
|
||||
@ -28862,7 +28865,7 @@ begin
|
||||
R.Bottom := ClientHeight;
|
||||
//lclheader
|
||||
if hoVisible in FHeader.FOptions then
|
||||
Inc(R.Bottom,FHeader.Height);
|
||||
Inc(R.Bottom, FHeader.Height);
|
||||
InvalidateRect(Handle, @R, False);
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user