setlevel_set_menu_item_level_.htm
Navigation: ABC Library Reference > PopupClass > PopupClass Methods >====== SetLevel (set menu item level) ====== | ![]() ![]() |
SetLevel( **//name, level //)**
| SetLevel | Sets the menu item hierarchy level. |
| name | A string constant, variable, EQUATE, or expression containing the menu item name. The AddItem, AddItemMimic, or AddMenu methods set the item name. |
| level | An integer constant, variable,a EQUATE, or expression containing the level of the menu item. |
The **SetLevel **method sets the menu item hierarchy (nesting) level.
Implementation:
The //name //parameter accepts up to 1024 characters.
Example:
** PopupMgr.SetLevel('Save',2)**
**See Also: **AddItem, AddItemMimic, AddMenu
setlevel_set_menu_item_level_.htm.txt · Last modified: by 127.0.0.1





