FMX.Grid.Style.TStyledGrid.CellByPoint
Delphi
procedure CellByPoint(const X, Y: Single; var ACol, ARow: Integer);
C++
void __fastcall CellByPoint(const float X, const float Y, int &ACol, int &ARow);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Grid.Style.pas FMX.Grid.Style.hpp |
FMX.Grid.Style | TStyledGrid |
Description
Fills ACol
and ARow
with the grid coordinates (column number and row number) of the cell located at the specified X
and Y
coordinates, or fills ACol
and ARow
with -1 if it cannot determine the grid coordinates of the cell.