Displays and associates a form with the current window.
DISPLAY FORM identifier [ ATTRIBUTES ( display-attributes ) ]
{ BLACK | BLUE | CYAN | GREEN | MAGENTA | RED | WHITE | YELLOW | BOLD | DIM | INVISIBLE | NORMAL | REVERSE | BLINK | UNDERLINE }
The DISPLAY FORM instruction creates a form element in the current window, from a form resource loaded by the OPEN FORM instruction.
The runtime system applies display attributes that you specify in the ATTRIBUTES clause to any fields that have not been assigned attributes by the ATTRIBUTES section of the form specification file, or by the database schema files, or by the OPTIONS runtime configuration statement. If the form is displayed in a window, color attributes from the DISPLAY FORM statement supersede any from the OPEN WINDOW statement. If subsequent CONSTRUCT, DISPLAY, or DISPLAY ARRAY statements that include an ATTRIBUTES clause reference the form, however, their attributes take precedence over those specified in the DISPLAY FORM instruction.