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 番目の行を指す点に留意してください。