Step 7: Use the visual extension in an application

PowerBuilder Native Interface

Step 7: Use the visual extension in an application

  1. Select File>Inherit from the PowerBuilder menu and select the PBD in the Libraries list in the Inherit from Object dialog box.

  2. Select the visual class and click OK.

  3. In the User Object painter, size the visual object and make any other changes you need.

  4. Save the object.

    You can now drag the new user object from the System Tree directly onto a window or onto another visual control, such as a tab control, and use it like any other visual user object.

Note Code samples