TdxNavBarGroup.MoveTo(TdxNavBarGroup,Integer) Method
Moves the group to a specific location within the group hierarchy.
Declaration
procedure MoveTo(AParent: TdxNavBarGroup; APosition: Integer);
Parameters
Name | Type |
---|---|
AParent | TdxNavBarGroup |
APosition | Integer |
Remarks
This procedure changes the group’s parent to the node passed as the AParent parameter. Pass nil as this parameter to move the group to the NavBar control’s root level. Set the NavBar control’s OptionsBehavior.Common.AllowChildGroups property to True to allow groups to nest other groups.
Pass the group’s index among other groups nested in the parent as the APosition parameter.
See Also