property Item.GroupPopup as GroupPopupEnum
Specifies whether the items of the sub-menu are grouped and displayed on the current item.

TypeDescription
GroupPopupEnum A GroupPopupEnum expression that specifies whether the items of the sub-menu are grouped and displayed on the current item.
By default, the GroupPopup property is exNoGroupPopup, which indicates that the sub-menu is not shown as grouped. Use the GroupPopup property to show the item's sub-menu as a group in the current item. The SubMenu property indicates the item's sub-menu. The GroupPopup has no effect if the item has no sub-items.

The following screen shot shows the items with no grouping:

The following screen shot shows the items with grouping ( horizontally ):

The following screen shot shows different type of items grouped horizontally, vertically: