You can create submenus to organize and group similar menu items together.
A submenu is a menu item that displays a new menu with additional menu items when clicked. The menu item created to display a submenu shows a triangle on its right side.
The following table describes the non-alphanumeric characters that can be used to control the display and behavior of the caption for a submenu. Non-alphanumeric characters not listed are reserved for future use as special menu characters.
Special characters for submenus |
||
---|---|---|
Character |
Description |
Example |
$( |
Enables the menu label to evaluate a DIESEL string macro if $( are the first characters. |
$(if,$(and,$(getvar,CleanScreenState),1),!.)Clean S&creen |
~ |
Makes a menu item unavailable. |
~Plot Style |
!. |
Marks a menu item with a check mark or if an icon is displayed for the menu item it appears sunken. |
!.Layer... |
& |
Placed directly before a character, specifies the character as the menu access key in a pull-down or shortcut menu label. |
S&le displays Sample (with the letter a underlined). |
\t |
Pushes all label text entered after these characters to the right side of the menu. |
Help\tF1 displays Help on the left side of the menu and F1 on the right side. |