Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Using the Push Button Class

Assume you want an entry called TENNIS.FRAME to execute when a push button, PBUTTON1, is selected. This requires the following steps:

  1. In the Value on Selection window, enter tennis.frame in the Value field.

  2. Include the following code in your SCL program:
    PBUTTON1:
       call display(pbutton1);
    return;

Alternatively, you can accomplish the same thing by accessing the Command Processing Window and assigning afappl c=sasuser.test.tennis.frame to the Execute SAS commands on selection field. In this case, the SCL code shown above is not needed. When the push button is selected, the entry, SASUSER.TEST.TENNIS.FRAME, executes.


Chapter Contents

Previous

Next

Top of Page

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