Vcl.Grids.TCustomGrid.BoxRect
Delphi
function BoxRect(ALeft, ATop, ARight, ABottom: Longint): TRect;
C++
System::Types::TRect __fastcall BoxRect(int ALeft, int ATop, int ARight, int ABottom);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Returns the screen coordinates of a specified set of cells.
Call BoxRect to obtain the screen coordinates, in pixels, of the cells that run from the column with index ALeft to the column with index ARight and the row with index ATop to the row with index ABottom. The coordinates of cells that are not visible onscreen are not included in the final rectangle.