Skip to content

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

  • Caption: Text to display in the group title bar. This is the group's caption.
  • Id: Group Id.

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.

Group Caption

See Also

Example

See RibbonBar Sample.


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.