Defines choices that a
user can make within a dialog box.
Restriction: |
Must be used after a DIALOG statement.
|
CHECKBOX <ON> #line
@column
'text-for-selection'
<COLOR=color>
<SUBSTITUTE='text-for-substitution'>;
|
- column
- specifies the column in the dialog box where the checkbox
and text are placed.
- line
- specifies the line in the dialog box where the checkbox
and text are placed.
- text-for-selection
- defines the text that describes this check box. This text
appears in the window and, if the SUBSTITUTE= option is not used, is also
inserted into the command in the preceding DIALOG statement when the user
selects the check box.
- COLOR=color
- defines the color of the check box and the text that describes
it.
- ON
- indicates that by default this check box is active. If you
use this option, you must specify it immediately after the CHECKBOX keyword.
- SUBSTITUTE='text-for-substitution'
- specifies the text that is to be inserted into the command
in the DIALOG statement.
Each CHECKBOX statement defines a single item that the user can select
independent of other selections. That is, if you define five choices with
five CHECKBOX statements, the user can select any combination of these choices.
When the user selects choices, the text-for-selection values
that are associated with the selections are inserted into the command string
of the previous DIALOG statement at field locations prefixed by an ampersand
(&).
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.