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

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

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.