menu.addSubMenu
| Syntax |
menu.addSubMenu (adrMenubar, menuName, adrSubMenu)
|
| Params |
adrMenubar is the address of a menubar object in Frontier.root. menuName is the name of a menu contained within the menu bar. adrSubMenu is the address of the menubar which you wish to add to the menu.
|
| Action |
Adds a submenu to the menubar object in the menu named menuName.
|
| Returns |
True.
|
| Examples |
menu.addSubMenu (@system.misc.menubar, "Custom", @scratchpad.DWmenu) » true // adds a new submenu to end of your Custom menu
|
| Notes |
If menuName is non-empty and doesn't exist, it is created as a new main menu. If menuName is the empty string, subMenu is added as a new main menu.
|
| See Also |
menu.deleteSubMenu
|