Skip to main content
Table of Contents

TTMSFNCCustomChat.XYToChatItem Method

Returns the chat item at the specified coordinates.

API unit family: TMSFNCChat Declaring type: TTMSFNCCustomChat

Syntax

FMX.TMSFNCChat.hppPascalC++
function XYToChatItem(X, Y: Single): TTMSFNCChatItem;
TTMSFNCChatItem* __fastcall XYToChatItem(float X, float Y);

Parameters

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

Returns

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