Insert new sub menu before the specified item in this menu The specified item can be represented as either text or ID and could refer to either a sub menu or a menu item
beforeItem | string or long | menu item before which new item is to be placed |
menuText | string | new sub menu name |
Return value | Pointer to this object | returned new sub menu object |
Example
set myMenu = menu.InsertMenu("&Window", "&My Menu")
Back to Menu
Back to Overview