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

function ControlAtPoint(AItem: TResponsiveListItem; pt: TPoint; var ControlID, ControlValue, ControlType: string): boolean;

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.