Building a standard class user object

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.

StepsTo build the standard class user object:

  1. 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.

  2. Declare functions, structures, or variables you need for the user object.

    NoteFor a list of properties and functions Use the Browser to list the built-in properties inherited from the selected system object. Use the Function List view or the Browser to list the functions inherited from the selected system object.

  3. Declare any user events needed for the user object.

    For information about user events, see “Communicating between a window and a user object”.

  4. In the Script view, create and compile scripts for the user object.

    Class user objects have built-in constructor and destructor events.

  5. Save the user object.

    See “Saving a user object”.