Changing the object in the control
In the painter, you can change or remove the object in the
control.
To delete the object in the control:
-
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.
To insert a different object in the control:
-
Select Insert from the control’s pop-up menu.
PowerBuilder displays the Insert Object dialog box.
-
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. -
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.