Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Building a standard visual user object – PB Docs 2021 – PowerBuilder Library

Building a standard visual user object – PB Docs 2021

Building a standard visual user object

On the PB Object tab page of the New dialog box, if you select
Standard Visual and click OK, the Select Standard Visual Type dialog
box displays.

To build a standard visual user object

  1. In the Select Standard Visual Type dialog box, select the
    PowerBuilder control you want to use to build your standard visual
    user object and click OK.

    The selected control displays in the workspace. Your visual
    user object will have the properties and events associated with
    the PowerBuilder control you are modifying.

  2. Work with the control as you do in the Window
    painter:

    • Review the default properties and make any necessary
      changes

    • Declare functions, structures, or variables as
      necessary

      You can declare these in the Script view.

    • Declare any user events needed for the user
      object

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

    • Create and compile the scripts for the user
      object

      Standard visual user objects have the same events as the
      PowerBuilder control you modified to create the object.

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