Skip to main content

TdxNavBarViewInfo.GetGroupAtItemsPos(TPoint) Method

Returns a group whose client area is located under the specified point.

Declaration

function GetGroupAtItemsPos(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’s client area. If the pt parameter value specifies the point, which is over a group’s client area, the corresponding group is returned. Otherwise, the GetGroupAtItemsPos function returns nil.

See Also