FMX.Grid.TCustomGrid.RowByPoint

提供: RAD Studio API Documentation
移動先: 案内検索

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 番目...となることに留意してください。

関連項目