SAS Component Language Dictionary |
Category: | Control or Field |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
station=ISACTIVE(var-name<,row>); |
contains the status of a selection:
>0 | |
0 |
is the row number when the button or choice group is in the scrollable section of an extended table in a PROGRAM entry. Do not specify row in programs for FRAME entries. Specify row only when you want to check the active station from outside the extended table's getrow or putrow section.
Details |
You cannot use ISACTIVE in FSEDIT or FSVIEW programs.
Window controls can also use the _isActive method.
Example |
Suppose your application has a radio box named HOBBY in which the third button displays the value TENNIS. Branch to an appropriate program when a user selects the TENNIS station (either by pressing ENTER or by clicking the mouse button).
if (isactive('hobby')=3) then call display('tennis.frame');
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.