Skip to main content
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

FMX.TMSFNCTileList.hppPascalC++
function XYToItem(X, Y: Single): TTMSFNCTileListItem;
TTMSFNCTileListItem* __fastcall XYToItem(float X, float Y);

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.