Difference between revisions of "ON SELECTION PAD"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Menus
 
 
 
 
==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 38: Line 34:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
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