Vcl.Grids.TCustomGrid.CellRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CellRect(ACol, ARow: Longint): TRect;

C++

System::Types::TRect __fastcall CellRect(int ACol, int ARow);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Returns the screen coordinates of a cell in the grid.

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 is specified when ACol and ARow are set to zero.

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

See Also