Table of Contents

TTMSFNCCustomSearchList.ItemAtXY Method

Returns the item index at the specified coordinates.

API unit family: TMSFNCSearchList Declaring type: TTMSFNCCustomSearchList

Syntax

function ItemAtXY(X,Y: integer): integer;

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.