Making your own applications : Using TrailBlazer browsers : Example: Defining the classes ScreenPMCapture and ScreenWinCapture : Creating a subclass

Creating a subclass
Begin by creating a class component:
1.
From a TrailBlazer browser named Loaded Applications with DevelopScreenCapture selected in the list of applications, select the down arrow to the right of the pane title Classes.
2.
3.
From the list of visible classes now displayed (upper middle pane), select Object. The class you are defining will subclass from this class.
Note that after you selected Object the lower half of the browser changed. It now displays the class definition--or source code--for Object in a description pane. You can change the display in this pane by selecting one of the options listed in the drop-down menu just above the pane.
The following graphic shows the available options:
Display options
To continue with the example, keep the Source display.
4.
5.
6.
7.
Though you can name the class anything you want, using one of these class names makes it easier to complete examples in Defining lineups for multiple platforms. The examples in that chapter use ScreenPMCapture and ScreenWinCapture in platform-specific lineups.
8.
Click on OK. A window opens, listing available subclass types.
9.
Select subclass; then OK.
The name of the class is shown highlighted in the list of classes and its definition is shown in the description pane.