Chapter Contents |
Previous |
Next |
UNGRAY |
Category: | Control or Field |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
rc=UNGRAY(var-name<,station<,row>>); |
0 | successful |
0 | unsuccessful |
Type: Numeric
Type: Character
Type: Numeric
Type: Numeric
Details |
You can use UNGRAY along with GRAY to control the availability of a choice group, a station, or a window element, based on the program flow.
When a window element is ungrayed, it becomes unprotected and reverts to its normal color. An ungrayed window element can once again receive input such as mouse clicks. FRAME entry controls can also use the _ungray method.
Example |
Make a station available only when the value of variable DEPT is ADMIN:
if (dept='ADMIN') then rc=ungray('personal',3); else rc=gray('personal',3);
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.