On the PB Object tab page of the New dialog box, if you select Standard Class and click OK, the Select Standard Class Type dialog box displays.
To build the standard class user object:
In the Select Standard Class Type dialog box, select the built-in system object that you want your user object to inherit from and click OK.
Declare functions, structures, or variables you need for the user object.
Declare any user events needed for the user object.
For information about user events, see “Communicating between a window and a user object”.
In the Script view, create and compile scripts for the user object.
Class user objects have built-in constructor and destructor events.
Save the user object.