Create a Close Window Button Subclass

To create a Close Window Button subclass, follow these steps:
  1. Create the new class by entering the following command at the SAS command line:
    build sasuser.button.closeWindowButton.class
    The Class Editor appears.
    Class Editor
  2. Replace the provided description, CLOSEWINDOWBUTTON.CLASS, with Close Window Button. This description will be used as the class name in the Components window.
  3. 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.
    Class Editor with Properties