Difference between revisions of "ON SELECTION MENU"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
Revision as of 14:10, 23 October 2009
Purpose
Define actions performed on every pad in a dBASE-IV style menu
Syntax
ON SELECTION MENU <menu> [<command>]
See Also
ACTIVATE POPUP, DEACTIVATE POPUP, DEFINE BAR, DEFINE POPUP, ON BAR, ON EXIT BAR, ON EXIT POPUP, ON POPUP, ON SELECTION PAD, ON SELECTION POPUP, SET COMPATIBLE
Description
The ON SELECTION MENU command defines actions performed on pads that do not have an ON SELECTION PAD command associated with them. Pads are options in Xbase style menus. These types of menus are created with the DEFINE MENU and DEFINE PAD commands. The menu is identified with the name that was assigned with the DEFINE MENU command. Pad selection occurs when the user moves the highlight onto the menu prompt and presses the [RETURN] key. The command SET COMPATIBLE should be set ON when using Xbase style menus.
<command>
If no command is given, ON SELECTION MENU disables previously specified commands. To specify the same command for individual pads in a menu, use the ON SELECTION PAD command. To specify commands which will execute when pads are highlighted, use the ON PAD command.
Example
define menu main define pad exit of main; prompt "\<Exit" at 0,0 define pad filelist of main; prompt "\<Files" at 0,6 on selection menu main dialog box prompt() activate menu main
Products
Recital Mirage Server, Recital Terminal Developer