Step 7: Use the visual extension in an application
Select File>Inherit from the PowerBuilder menu and select the PBD in the Libraries list in the Inherit from Object dialog box.
Select the visual class and click OK.
In the User Object painter, size the visual object and make any other changes you need.
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.
Code samples