Skip to main content

TdxNavBarViewInfo.IndexOfGroupViewInfo(TdxNavBarGroupViewInfo) Method

Returns the index of the group by its ViewInfo information.

Declaration

function IndexOfGroupViewInfo(AViewInfo: TdxNavBarGroupViewInfo): Integer;

Parameters

Name Type
AViewInfo TdxNavBarGroupViewInfo

Returns

Type
Integer

Remarks

This function searches for the group that has the ViewInfo information as specified by the AViewInfo parameter. If such a group has been found, its zero-based index is returned. Otherwise, the IndexOfGroupViewInfo function returns -1.

See Also