Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using the Check Box Class


Determing the State of a Checkbox by Testing the Associated Variable

Assume that in the Value on Selection window, the check box has been assigned a numeric return value of 12. The following example determines the state of the check box by testing the variable with the same name as the check box:

   if (checkbox=12) then call display
      ('tennis.frame');


Using the ISACTIVE Function to Determine the State of a Checkbox

The following example calls the ISACTIVE function in SCL to determine the current state of the check box:

   if (isactive('checkbox')=1) then call display
        ('tennis.frame');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.