InsertMenuInMenuBar Method |
Inserts a menu into the AutoCAD menu bar.
Signature
object.InsertMenuInMenuBar MenuName, Index
Object
PopupMenus
The object or objects this method applies to.
MenuName
String; input-only
The name of the popup menu to insert into the menu bar.
Index
Variant; input-only
The index in the menu bar to place the popup menu. 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.
Remarks
The menu is inserted immediately before the index position specified.
Comments? |