To create a Close Window
Button subclass, follow these steps:
-
Create the new class
by entering the following command at the SAS command line:
build sasuser.button.closeWindowButton.class
The Class Editor appears.
-
Replace the provided
description, CLOSEWINDOWBUTTON.CLASS, with
Close
Window Button
. This description will be used as
the class name in the Components window.
-
For the parent class,
enter
sashelp.classes.pushbutton_c.class
,
and press ENTER.
Notice how the properties
on the left side of the Class Editor are now available.