Activating the object in the painter

The object in the OLE control needs to be activated so that the server application can manipulate it. For the user, double-clicking is the default method for activating the object. You can choose other methods by setting the control’s Activation property, as described in the preceding table. During development, you activate the object in the Window painter.

StepsTo activate an OLE object in the Window painter:

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

    If the control is empty, Open is unavailable. You must select Insert to assign an object to the control first.

    PowerBuilder invokes the server application and activates the object offsite.

  2. Use the server application to modify the object.

  3. When you have finished, deactivate the object by clicking outside its hatched border.

    You can also choose Exit or Return on the server’s File menu, if available.