RemoveMenuFromMenuBar Method

Removes the popup menu, as specified from the collection, from the AutoCAD menu bar.

See Also | Example


object.RemoveMenuFromMenuBar Index


The object or objects this method applies to.


Variant; input-only
The index in the menu bar of the popup menu to remove. The index must be either an integer or a string. If an integer, the index must be between 0 and N-1, where N is the number of popup menus in the menu bar. If a string, the name of the popup menu must contain any underscore that appears in the menu.