AddGroup Method
Description
Adds a RibbonGroup to a RibbonTab.
Syntax
Public Function AddGroup( _
ByVal [Caption] As String, _
ByVal [Id] As Long _
) As [RibbonGroup](XtremeCommandBars~RibbonGroup.md)
Parameters
Return Type
Reference to the RibbonGroup object added to the RibbonTab Groups Collection.
Remarks
Tabs in the Ribbon Bar contain one or more RibbonGroup objects. Buttons, Popups, etc., can then be added to the groups. In the picture below, the "Pages", "Table", "Illustrations", and "Links" are all RibbonGroup objects that have been added to the "Insert" RibbonTab.

See Also
- RibbonGroups Collection
- InsertGroup Method
- RibbonGroup Object
- RibbonTab Object
- RibbonTab Groups Collection
- Caption Property
- Id Property
- RemoveAll Method
- RemoveGroup Method
Example
See RibbonBar Sample.
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.