Skip to main content

TdxNavBarViewInfo.GetGroupAtCaptionPos(TPoint) Method

Returns the group whose header is located under the specified point.

Declaration

function GetGroupAtCaptionPos(const pt: TPoint): TdxNavBarGroup;

Parameters

Name Type
pt TPoint

Returns

Type
TdxNavBarGroup

Remarks

This function can be used to determine whether a point is located in a group header. If the pt parameter value specifies the point, which is over a group header, the corresponding group is returned. Otherwise, the GetGroupAtCaptionPos function returns nil.

See Also