Chapter Contents |
Previous |
Next |
The PMENU Procedure |
Restriction: | Must be followed by at least one TEXT statement. |
Featured in: | Collecting User Input in a Dialog Box , Creating a Dialog Box to Search Multiple Variables , and Creating Menus for a DATA Step Window Application |
DIALOG dialog-box
'command-string
field-number-specification'; |
Required Arguments |
The limit for 'command-string field-number-specification' is 200 characters.
Note: If you are using PROC PMENU to submit any command that is valid
only in the PROGRAM EDITOR window (such as the INCLUDE command), you must
have the windowing environment running, and you must return control to the
PROGRAM EDITOR window.
@1...@n | %1...%n | &1...&n |
You can embed the field numbers, for example @1, %1, or &1, in the command string and mix different types of field numbers within a command string. The numeric portion of the field number corresponds to the relative position of TEXT, RADIOBOX, and CHECKBOX statements, not to any actual number in these statements.
Note: Keep in mind that the numbers correspond to RADIOBOX statements,
not to RBUTTON statements.
Note: To specify a literal @ (at sign), % (percent
sign), or & (ampersand) in the command-string, use a double
character: @@ (at signs), %% (percent signs), or && (ampersands).
Details |
Dialog boxes have two or more push buttons, such as OK and Cancel, automatically built into the box.(footnote 1) A push button causes an action to occur.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.