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

Inserting a nonvisual object in a user object – PB Docs 80 – PowerBuilder Library

Inserting a nonvisual object in a user object – PB Docs 80

Inserting a nonvisual object in a user object

How you insert a nonvisual object

You can automatically create nonvisual objects in any type
of user object by inserting a nonvisual object in the user object.
You do this if you want the services of a nonvisual object available
to your user object.

The nonvisual object you insert can be a custom class user
object or one of most of the types of standard class user objects.

proc.gif To insert a nonvisual object in a user object:

  1. Open the user object in which you want
    to insert the nonvisual object.

  2. Select Insert>Object from the menu bar.

    uo14.gif

  3. Click the type of standard class user object you
    want to insert.

    or

    Click User Object (at the bottom of the list) and then
    select the nonvisual object you want to insert.

    PowerBuilder creates a new nonvisual object in your user object.

  4. Modify the properties and code the events of the
    nonvisual object as needed.

When your user object is created in your application, the
nonvisual object is automatically created, and when your user object
is destroyed, the nonvisual object is automatically destroyed.

How you know the nonvisual object is inserted

Since a standard class object is nonvisual, you can’t
see it. But if you look at the Non-Visual Object List view, you’ll
see all the nonvisual user objects that exist in your user object.

uo15.gif

Using the Non-Visual Object List view’s popup menu,
you can display a nonvisual object’s properties in the
Properties view, display the Script view for a nonvisual object
to code the object’s behavior, or delete a nonvisual 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