An AutoCAD menu group.
Supported Platforms: Windows only
AcadMenuGroup
Object AcadMenuGroup
VBA
MenuGroups.Load
VBA
MenuGroups.Item
These members are part of this object:
Methods |
Properties |
Events |
---|---|---|
None |
A menu group contains menus and toolbars, some or all of which may be currently displayed in AutoCAD.
Each menu group contains a PopupMenus collection and a Toolbars collection. The PopupMenus collection contains all the menus within the menu group and can be accessed through the Menus property. Likewise, the Toolbars collection contains all the toolbars within the menu group and can be accessed through the Toolbars property.
Menu groups are loaded into the AutoCAD session using the Load method. This method loads a specified customization file that contains the menu group. The menu group is then added to the MenuGroups collection. Once loaded, individual menus can be inserted into the menu bar and toolbars can be displayed. The Load method also provides a mechanism to load the menu group as the base menu in the same manner as the MENU command in AutoCAD. When a menu group is loaded as the base menu, the Type property for that menu group will be set to acBaseMenuGroup.