Table of Contents

TTMSFNCTileList.XYToItem Method

Returns the item at the specified control coordinates.

API unit family: TMSFNCTileList Declaring type: TTMSFNCTileList Inherited from: TTMSFNCCustomTileList

Syntax

function XYToItem(X, Y: Single): TTMSFNCTileListItem;

Parameters

Name Description
X Horizontal coordinate in control client pixels.
Y Vertical coordinate in control client pixels.

Returns

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