Menu.insertMenu


insertMenu(beforeItem, menuText)

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

beforeItemstring or long menu item before which new item is to be placed
menuTextstringnew sub menu name
Return valuePointer to this objectreturned new sub menu object

Example


 set myMenu = menu.InsertMenu("&Window", "&My Menu")

Back to Menu

Back to Overview