The User Object painter has different implementations, depending on the type of user object you are working with. It has several views where you specify how the user object behaves and, for custom visual and standard visual user objects, how it looks. For details about the views, how you use them, and how they are related, see “Views in painters that edit objects”.
In this User Object painter for a custom visual user object, the Layout view and Script view have been arranged to display at the same time.
Figure 14-1: Custom visual object in the User Object painter
Most of your work in the User Object painter for visual objects is done in three views:
The Layout view, where you design the appearance of the user object
The Properties view, where you set user object properties and control properties
The Script view, where you modify behavior by coding user object and control scripts
In the Layout view, you add controls to a visual user object in the same way you add controls to a window.
For information about specifying user object properties, see “Building a new user object”. For information about using the Script view, see Chapter 6, “Writing Scripts.”
The Layout and Control List view are not needed for nonvisual user objects, but you use all the other views that you use for visual objects.
For nonvisual user objects, there is no layout design work to do, but otherwise, working in the User Object painter on the behavior of a nonvisual object is similar to working on the behavior of a visual user object.