Painting a Display

Displays are composed of forms and appear only within windows. When you access the Screen Painter using a DISPLAY DEFINE command, the image of a window appears (either a default window, or the specified display within its associated window).

The process of painting a display resembles that of painting a form, except that the boundaries of the forms that constitute the display are not visible unless the form is selected. All form fields used in the display must appear within one of the forms. Existing forms can be sized, and new forms added, to accommodate additional form fields.

Edit the various attributes of the display, of the constituent forms, and of the window; if any of the attributes affects appearance, the Screen Painter immediately adjusts the image accordingly. Save changes to the display, to the forms, and to the window, in any combination. The Screen Painter stores display attributes in the Object Dictionary EntitySets Displays and DisplayForms. Form attributes are stored in Forms and FormFields and window attributes are stored in Windows.

Paint only within the window. If you do no have enough room, change windows, or resize the window.

The association between a window and a display is strictly a matter of convenience. However, by painting displays, forms, and windows together, you have a better idea of how your completed user interface looks.