RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.CellRect Method

Returns the screen coordinates of a cell in the grid.

Pascal
function CellRect(ACol: Longint; ARow: Longint): TRect;
C++
__fastcall TRect CellRect(Longint ACol, Longint ARow);

Call CellRect to obtain the boundaries, in pixels, of the cell in the column and row indicated by the ACol and ARow parameters. The top left cell that contains data is specified when ACol and ARow are set to zero. 

If the indicated cell is not visible, CellRect returns an empty rectangle. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!