Contents - Index - Previous - Next


CellRect method



Applies to
TProfGrid component

Declaration
function CellRect(ACol, ARow: Integer): TRect;

Description

Returns the screen coordinates of a visible cell in the grid.

Call CellRect to obtain the boundaries, in pixels, of the cell in the column and row specified by the ACol and ARow parameters.

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