|
|
You can replace the contents of active menus, mouse buttons, tablet buttons, tablet menus, or screen menus. The swapped content can be that of another user interface element of the same type in the main CUI file, or it can come from a partial CUI file.
You cannot swap interface elements that are of different types (menus and mouse buttons, for example). However, within a given type, you can swap any user interface element for any other element.
Use the following syntax in a macro to swap elements:
$section=menugroup.menuname
The following describes each section of the macro syntax for swapping elements:
Macro syntax for swapping elements
The following commands illustrate submenu referencing:
$S=PARTS
$T1=EDITCMDS
You can activate the submenu mechanism in the middle of a command without interrupting the command. For example, the following command strings are equivalent:
$S=ARCSTUFF ARC
ARC $S=ARCSTUFF
Each command starts the ARC command, switches to the ARCSTUFF screen submenu, and awaits the entry of arc parameters. A space must follow the submenu reference to separate it from subsequent commands in the command.
A pull-down menu can be present either in the menu bar or on the active shortcut menu but not both.