FMX.Grid.TCustomGrid.CellByPoint
Delphi
function CellByPoint(const X, Y: Single; var ACol, ARow: Integer): Boolean;
C++
bool __fastcall CellByPoint(const float X, const float Y, int &ACol, int &ARow);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TCustomGrid |
Description
Fills ACol and ARow with the column and row numbers that identify the cell located at the specified X and Y coordinates, and returns True on success or False otherwise.