Table of Contents

TTMSFNCResponsiveList.AnchorAtPoint Method

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

API unit family: TMSFNCResponsiveList Declaring type: TTMSFNCResponsiveList

Syntax

function AnchorAtPoint(AItem: TResponsiveListItem; pt: TPoint; var Anchor: 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.
Anchor Returns the anchor found at the point, or an empty string when no anchor is found.

Returns

True when the point falls on an anchor.