Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using the Check Box Control


Key properties to set
selected attribute (default attribute) Specify whether the check box should be selected by default.

You can also query or set the selected attribute using SCL. For example, the following line of SCL code sets the check box to 'selected' mode:

checkbox1.selected = 'yes';

Note:   The following line of code is also valid since the selected attribute is the default attribute:

checkbox1 = 'yes';
  [cautionend]
label attribute Specify the label that appears next to a check box.

You can also query or set the label using SCL. For example, the following line of SCL code sets the label value to "Dog:"

checkbox1.label = 'Dog';


Chapter Contents

Previous

Next

Top of Page

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