codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  MenuGroup object

An AutoCAD menu group.

VBA class name:

AcadMenuGroup 

Create using:

MenuGroups.Load 

Access via:

MenuGroups.Item 

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.

Methods

Save

SaveAs

Unload  

Properties

Application

MenuFileName

Menus

Name

Parent

Toolbars

Type  

 

   Comments?