Difference between revisions of "ON SELECTION PAD"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Define actions performed on pad selection in a dBASE-IV style menu | Define actions performed on pad selection in a dBASE-IV style menu | ||
Line 18: | Line 14: | ||
The ON SELECTION PAD command defines actions performed on a pad selection within a dBASE-IV style menu. The pad and menu are identified with the names that were assigned with the DEFINE MENU and DEFINE PAD commands. 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. | The ON SELECTION PAD command defines actions performed on a pad selection within a dBASE-IV style menu. The pad and menu are identified with the names that were assigned with the DEFINE MENU and DEFINE PAD commands. 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 PAD disables previously specified commands. To specify the same selection command for all pads in a menu, use the ON SELECTION MENU command. | + | ====<command>==== |
+ | If no command is given, ON SELECTION PAD disables previously specified commands. To specify the same selection command for all pads in a menu, use the ON SELECTION MENU command. | ||
Line 25: | Line 22: | ||
define menu main | define menu main | ||
define pad exit of main; | define pad exit of main; | ||
− | prompt "<Exit" at 0,0 | + | prompt "\<Exit" at 0,0 |
define pad filelist of main; | define pad filelist of main; | ||
− | prompt "<Files" at 0,06 | + | prompt "\<Files" at 0,06 |
on pad filelist of main activate popup files | on pad filelist of main activate popup files | ||
Line 37: | Line 34: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Menus]] | [[Category:Menus]] | ||
[[Category:Menus Commands]] | [[Category:Menus Commands]] |
Latest revision as of 15:52, 12 November 2009
Purpose
Define actions performed on pad selection in a dBASE-IV style menu
Syntax
ON SELECTION PAD <pad> OF <menu> [<command>]
See Also
ACTIVATE MENU, DEACTIVATE MENU, DEFINE MENU, DEFINE PAD, ON EXIT PAD, ON PAD, ON SELECTION MENU, MENU(), PAD(), PROMPT(), SET COMPATIBLE
Description
The ON SELECTION PAD command defines actions performed on a pad selection within a dBASE-IV style menu. The pad and menu are identified with the names that were assigned with the DEFINE MENU and DEFINE PAD commands. 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 PAD disables previously specified commands. To specify the same selection command for all pads in a menu, use the ON SELECTION MENU command.
Example
define menu main define pad exit of main; prompt "\<Exit" at 0,0 define pad filelist of main; prompt "\<Files" at 0,06 on pad filelist of main activate popup files on selection pad exit of main deactivate menu activate menu main
Products
Recital