Skip to main content
Table of Contents

TTMSFNCSearchList.ItemAtXY Method

Returns the item index at the specified coordinates.

API unit family: TMSFNCSearchList Declaring type: TTMSFNCSearchList Inherited from: TTMSFNCCustomSearchList

Syntax

FMX.TMSFNCSearchList.hppPascalC++
function ItemAtXY(X,Y: integer): integer;
int __fastcall ItemAtXY(int X, int Y);

Parameters

Name Description
X The horizontal coordinate.
Y The vertical coordinate.

Returns

The item index at the coordinates, or -1 when no item is present.