To save a user object:
In the User Object painter, select File>Save from the menu bar or click the Save button in the painter bar.
If you have previously saved the user object, PowerBuilder saves the new version in the same library and returns you to the User Object painter.
If you have not previously saved the user object, PowerBuilder displays the Save User Object dialog box.
Enter a name in the User Objects box.
For naming considerations, see “Naming the user object”.
Enter comments to describe the user object.
These display in the Select User Object dialog box and in the Library painter, and will document the purpose of the user object.
Specify the library in which to save the user object.
To make a user object available to all applications, save it in a common library and include the library in the library search path for each application.
Click OK to save the user object.
Validation for server components In the User Object painter for a custom class user object, the Design menu has EAServer Validation and COM/COM+ Validation menu items. If you are saving an EAServer component or a COM/COM+ component and you check the validation menu item for the component to enable validation, a check displays next to the menu item. When you save the object, you might see some error messages.
For information about EAServer validation and COM/COM+ validation, see Application Techniques.