Reference TRectSelection
Declared in Codebot.Controls.Grids.pas on line 38
TRectSelection tracks an area of a control which needs to be repainted
TRectSelection = record
public
{ Empty the area }
procedure Clear;
{ Grow the area to include a rectangle }
procedure Add(Rect: TRectI);
{ Move the area by a scroll amount }
procedure Scroll(X, Y: Integer);
{ Invalidate the area of a control }
procedure Update(Control: TWinControl);
{ The area }
property Region: TRectI read FRect;
{ Modified is true when a rectangle has been added }
property Modified: Boolean read FAdded;
end;See also
TRectI in Codebot.Graphics.Types.pas