Table of Contents

TTMSFNCListBox.XYToItem Method

Returns the item at the specified control-local coordinates.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: TTMSFNCCustomListBox

Syntax

function XYToItem(X, Y: Single): TTMSFNCListBoxItem; virtual;

Parameters

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

Returns

The item at the coordinates, or nil when no item is found.