On the PB Object tab page of the New dialog box, if you select Standard Visual and click OK, the Select Standard Visual Type dialog box displays.
To build a standard visual user object:
In the Select Standard Visual Type dialog box, select the PocketBuilder control you want to use to build your standard visual user object, and click OK.
The selected control displays in the workspace. Your visual user object will have the properties and events associated with the PocketBuilder control you are modifying.
Work with the control as you do in the Window painter:
Review the default properties and make any necessary changes
Declare functions, structures, or variables as necessary
You can declare these in the Script view.
Declare any user events needed for the user object
For information about user events, see “Communicating between a window and a user object”.
Create and compile the scripts for the user object
Standard visual user objects have the same events as the PocketBuilder control you modified to create the object.
Save the user object.