Defines form objects. A form is a user interface object that groups one or more form fields that are to be used as a unit.

Establishing a Form

Call up the Development Center with the DC command, select FORMS from the OBJECTS drop-down menu, and use the tools of the Development Center to define the desired form. The Development Center calls up the Screen Painter for you and automatically CREATEs the form. Another way of "painting" a form is to invoke the Screen Painter directly:

form define formname [in dirname]

The Screen Painter adds appropriate entries to the Windows, Menus, Forms, and FormFields entity sets, defining the form, but does not create or recreate the Form.

When you are satisfied with the form, exit the Screen Painter, and answer OK to the prompts to save the desired objects.

Fields of Forms Entity Set




Name of the form


Application directory location of the form

Wdth, Hght

Size of the form (characters)

WdgWdth, WdgHght

Size of the form (twips)

HMargin, VMargin

Interior margins of the form (characters)

WdgHMargin, WdgVMargin

Interior margins of the form (twips)


Alphanumeric identifier for the form


A unique identifier assigned by the Development Center