contents.gifindex.gifprev1.gifnext1.gif

MENU-ITEM

MENU-ITEM- This variable affects the behavior of pull-down menus.

The default action of a menu item is to return an exception value equal to the item's ID. You can change the default action of a particular item by using MENU-ITEM.

Use MENU-ITEM in the same fashion as the KEYSTROKE variable, except that the last entry on the line is the menu's ID, not the key code. For example, to cause a menu item whose ID is "200" to act the same as the Delete key, use the following:

MENU-ITEM Edit=Delete 200

Alternately, you could cause menu item "200" to call the "notepad" sample program by using:

MENU-ITEM Hot-Key="notepad" 200