FMX.Grid.TCustomGrid.RowByPoint
Delphi
function RowByPoint(const X, Y: Single): Integer;
C++
int __fastcall RowByPoint(const float X, const float Y);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TCustomGrid |
説明
指定された左上座標にある行のインデックスを返します。
行が存在しない場合、RowByPoint は -1 を返し、そうでなければ整数値を返します。0 は最初の行で、1 は 2 番目...となることに留意してください。