InsertInMenuBar Method

Inserts the popup menu into the AutoCAD menu bar at a specified location.

See Also | Example

Signature

object.InsertInMenuBar(Index)

Object

PopupMenu
The object or objects this method applies to.

Index

Variant; input-only
The index location in the menu bar where the popup menu is to be added.
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 objects in the menu bar. The new item will be added immediately before the specified index location.

 

   Comments?