FMX.Grid.TCustomGrid.RowByPoint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function RowByPoint(const X, Y: Single): Integer;

C++

int __fastcall RowByPoint(const float X, const float Y);

Properties

Type Visibility Source Unit Parent
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TCustomGrid

Description

Returns the index of row at the given left and top coordinates.

If the row does not exist, RowByPoint returns -1, otherwise a positive numerical value is returned. Keep in mind that 0 is the first row, 1 is the second row, and so on.

See Also