Untitled

(Steven Felgate) #1

referencing. Using this method, you can insert the new menu in front of a
known menu and then remove the known menu.


For menu-swapping purposes, the pull-down menu areas are named P1 through
P16. You can change the title that appears in the menu bar by replacing that
line of the menu with a $Pn= command. You can use the special command
$Pn=* from within any command to force the menu currently assigned to area
POPn to pull down for greater flexibility in movement of the pointing device.


The following macro example replaces a menu at position P3 with the menu
named MyMenu in the customization group named MYMENU.


$P3=mymenu.new3

You can use the $Pn=* special command from within any macro to force the
menu currently assigned to area POPn to be displayed.


NOTEThe swapping of pull-down menus does not conform to the Microsoft®
user interface guidelines and is not guaranteed to be available in future releases
of the program.


Insert and Remove Pull-Down Menus


Menu swapping is done by activating one menu directly from another menu.
Menu swapping is supported for the following interface elements:


■ B - Buttons


■ P - Pull-down menus


■ A - Mouse buttons


■ I - Image tile menus


■ T - Tablet menus


The syntax for the swapping of partial menus is as follows:


$section=customizationgroup.menuname

section


B1-4, A1-4, P0-16, T1-4


customizationgroup


Customization group name in the desired CUIx file


menuname


Pull-down and Shortcut Menus | 231

Free download pdf