Skip to main content
Table of Contents

TTMSFNCTableView.XYToItemIndex Method

Returns the item index at the specified coordinates.

API unit family: TMSFNCTableView Declaring type: TTMSFNCTableView Inherited from: TTMSFNCCustomTableView

Syntax

FMX.TMSFNCTableView.hppPascalC++
function XYToItemIndex(X, Y: Single): Integer; virtual;
virtual int __fastcall XYToItemIndex(float X, float Y);

Parameters

Name Description
X Horizontal coordinate in control coordinates.
Y Vertical coordinate in control coordinates.

Returns

The requested numeric value.