Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using the Push Button Control


Key properties to set
commandOnClick attribute Specify the action you want performed when the push button is selected.

You can also query or set this attribute using SCL. For example, the following line of SCL code assigns SAS' END command to the push button:

pushbutton1.commandOnClick = 'End';
label attribute (default attribute) Specify the text that you want assigned to the push button.

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

pushbutton1.label='Save';

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

pushbutton1 = 'Save';
  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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