External form inclusion

Form inclusion allows to reuse the same form part in different forms.

In some cases, application forms can become very complex, or can have a common layout part that repeats across forms. In such case, some parts of the form can be defined in an external .per file, that will be included in the final form by using the FORM clause inside the LAYOUT section.

The external form parts can be controlled by a declarative dialog instruction, that can be attached to any procedural dialog instruction, with the SUBDIALOG clause of DIALOG.

    GRID g1
       Customer information
       Name:  [f001                 ]
    FORM "orders"