Menu Item properties
Syntax
ID Syntax
|
Description
|
/<-
|
The first item on the menu bar. You can include this name at the end of a menu path (for example, /File/<- identifies the first item on the File menu).
|
/->
|
The last item on the menu bar. You can include this name at the end of a menu path (for example, /Tools/Macro/-> identifies the last item on the Tools Macro menu).
|
/n
|
The nth item on the menu bar. You can include this name at the end of a menu path (for example, /Help/2 identifies the second item on the Help menu).
|
Description
You can manipulate the properties for each item on the menu bar. To identify an item on the menu bar, enter its path separated by forward slashes (/). Do not include ellipses (…).The following table lists some special ways to identify menu items.
The following table lists properties and syntax for the Menu Item object:
Property
|
Syntax
|
Menu Item
|
Menupath.Property
|
Checked (H)
|
Checked;Yes | No
|
Depend On (H)
|
Depend_On;Desktop, NoteWin, ChartWin, DiaWin, EditWin, ObjectsPage
|
Disabled (H)
|
Disabled;Yes | No
|
Enabled (H)
|
Enabled;Yes | No
|
Grayed (H)
|
Grayed;Yes | No
|
Help Line (H)
|
Help_Line;HelpLine
|
Hidden (H)
|
Hidden;Yes | No
|
HotKey (H)
|
HotKey;HotKey
|
Show (H)
|
Show;Yes | No
|
Title (H)
|
Title;Title
|
•
|
|
If a property name is followed by (H), it is a hidden property and does not appear in the object’s property dialog.
|
Menu Item properties