MenuBar Collection (ActiveX)

A collection of PopupMenu objects representing the current AutoCAD menu bar.

Supported Platforms: Windows only

Class Information

Class Name

AcadMenuBar

Object Inheritance
Object
   AcadMenuBar
Create Using

VBA

Not applicable
Access Via

VBA

Application.MenuBar

Members

These members are part of this object:

Methods

Properties

Events

Item

Application

Count

Parent

None

Remarks

The MenuBar object contains all the menus that are currently displayed on the AutoCAD menu bar. Any menu from a currently loaded menu group can be displayed on the menu bar.

To display a menu on the menu bar, use the InsertInMenuBar method found on the PopupMenu object. To remove a menu from the current menu bar, use the RemoveFromMenuBar method also found on the PopupMenu object.

You cannot create or delete the MenuBar collection.