display Statement--Display a Form
After the FRS has been invoked and at least one form declared, the program can display the form by issuing the display statement.
This statement has the following syntax:
display formname [mode]
with style=fullscreen[(screenwidth =
current|default|narrow|wide)]
popup[(option=value {, option=value})]];
The display statement directs the FRS to display the specified form on the screen in the specified mode and style. The form remains on the screen until the user takes some action to end its display or until another form is displayed on top of it. While the form is displayed, a display loop is in effect. The FRS manages the display and generally maintains control of the application. The user can examine and place data in fields and activate various operations. In response to actions taken by the user, control is transferred from the FRS to sections of program code defined as operations. After the operations are complete, control returns to the FRS, where it remains until another operation is activated or the loop is ended.