Building a standard class user object – PB Docs 2022

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.

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

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x