Changing the object in the control – PB Docs 125

Changing the object in the control

In the painter, you can change or remove the object in the
control.

proc.png To delete the object in the control:

  1. Select Delete from the
    control’s pop-up menu.

    The control is now empty and cannot be activated. Do not select
    Clear—it deletes the control from the window.

proc.png To insert a different object in the control:

  1. Select Insert from the
    control’s pop-up menu.

    PowerBuilder displays the Insert Object dialog box.

  2. Select Create New and select a server application,
    or select Create from File and specify a file, as you did when you
    defined the control.

  3. Click OK.

During execution

You can insert a different object in the control by calling
the InsertObject, InsertFile, InsertClass,
or LinkTo function. You can delete the object
in the control by calling Cut or Clear.


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