Adding objects to your interface is a basic process using the mouse cursor.
To add, for example, a form object to a display, select Form from the gallery menu pull down.
Position the mouse cursor at the desired location in the painting window and click the left mouse button. A form object is added to the display at that location
Note: If You Don't Have A Mouse . . . Position the pointer at the desired location using the direction keys and press F7.
Other gallery objects can be added using the same method.
Once you have added an object, the Screen Painter prompts you for a name and other information about the object. You may also completely customize the object using the Screen Painter's various edit screens. Or, you can delay customization until later by accepting the default settings provided by the Screen Painter.
Graphical environments support complex types of user interface objects, some of which act as containers for other objects. For example, frames and option boxes are containers. The idea of container objects is an important one in painting your user interface.
When you add objects within other objects (e.g., form fields in container form fields or forms, forms in displays, menus in windows), the new objects are owned by the container. And if, for example, you move or delete a container, the objects contained within it also move or vanish.
The Painter tracks the ownership of objects relative to their containers (or parents).
The command that you use to access the Screen Painter affects your choice of objects to add. DISPLAY DEFINE gives you the most range when using the Painter, because all categories of user interface objects can be created or edited in DISPLAY DEFINE. However, if you execute the WINDOW DEFINE command, you are not able to add any objects (WINDOW DEFINE does not enable add operations since this command enables you to define only the characteristics of a particular window).