TRVTableItemInfo.GetCellAt

<< Click to display table of contents >>

TRVTableItemInfo.GetCellAt

Returns cell at the specified coordinates.

function GetCellAt(X,Y: TRVCoordout Row,Col: Integer;

  IgnoreBorders: Boolean = False): Boolean;

Input parameters:

X, Y coordinates, relative to the top left corner of the table.

If IgnoreBorders = False, the coordinates must be strictly inside the cell. Otherwise, (X, Y) may be inside a cell border or close to it.

Output parameters:

Row, Col receive the position of cell.

This method must be called when the document is formatted.

 

See also methods of TCustomRichView:

GetItemCoords.