Now that you have a
new Close Window Button class, you need to make it accessible at build
time so that you can drag it to and drop it onto a frame. To make
the new button subclass appear in the Components window, follow these
steps:
-
Create a frame or open
an existing frame.
The Components window
appears.
-
Right-click in the Components
window and select
Add Classes.
-
Enter
sasuser.button.closeWindowButton.class
or navigate
to the class and select it.
The class appears at
the top of the Components window. The class will remain in the Components
window, even between SAS sessions, until you remove it.
-
Close the frame without
saving it.
You can also drag a
class from a SAS Explorer window to a frame. Doing so means that you
do not have to add the class to the Components window.