fixed grid painting

git-svn-id: trunk@5213 -
This commit is contained in:
mattias 2004-02-21 01:26:05 +00:00
parent f1c507bc10
commit 56c98b2587
2 changed files with 8 additions and 2 deletions

View File

@ -114,6 +114,7 @@ end;
procedure TArrow.Paint; procedure TArrow.Paint;
begin begin
InterfaceObject.DrawArrow(Self, Canvas); InterfaceObject.DrawArrow(Self, Canvas);
inherited Paint;
end; end;
procedure TArrow.InitializeWnd; procedure TArrow.InitializeWnd;

View File

@ -2795,8 +2795,13 @@ begin
//InvalidateSelection; //InvalidateSelection;
Invalidate Invalidate
end else begin end else begin
InvalidateCell(FCol, FRow); if goRowSelect in Options then begin
InvalidateCell(DCol, DRow); InvalidateRow(FRow);
InvalidateRow(DRow);
end else begin
InvalidateCell(FCol, FRow);
InvalidateCell(DCol, DRow);
end;
end; end;