Skip to main content
Table of Contents

TTMSFNCResponsiveList.ControlAtPoint Method

Determines whether a point falls on a control rendered inside an item's content.

API unit family: TMSFNCResponsiveList Declaring type: TTMSFNCResponsiveList

Syntax

FMX.TMSFNCResponsiveList.hppPascalC++
function ControlAtPoint(AItem: TResponsiveListItem; pt: TPoint; var ControlID, ControlValue, ControlType: string): boolean;
bool __fastcall ControlAtPoint(TResponsiveListItem* AItem, const System::Types::TPoint &pt, System::UnicodeString &ControlID, System::UnicodeString &ControlValue, System::UnicodeString &ControlType);

Parameters

Name Description
AItem Item whose rendered content is tested.
pt Point, expressed in client coordinates, to test against the item's content.
ControlID Returns the identifier of the control found at the point.
ControlValue Returns the value carried by the control found at the point.
ControlType Returns the type of the control found at the point.

Returns

True when the point falls on a control.