Form part
If a Form part is accessed by only one form group, make sure that the form part be embedded in the FormGroup part. If a Form part is accessed by multiple form groups, specify the Form part at the top level of an EGL file.
Syntax
The following diagram represents
the syntax of a Form part:

Properties
- formName
- Specifies the part name.
- textForm
- Indicates that the form is a text form.
- textFormProperty
- A text-form property.
- textFormField
- A text-form field.
- printForm
- Indicates that the form is a print form.
- printFormProperty
- A print-form property.
- printFormField
- A print-form field.
Example
The following example shows a text
form:
Form myTextForm type textForm
{
formsize= [24, 80],
position= [1, 1],
validationBypassKeys=[pf3, pf4],
helpKey="pf1",
helpForm="myHelpForm",
msgField="myMsg",
alias = "form1"
}
* { position=[1, 31], value="Sample Menu" } ;
* { position=[3, 18], value="Activity:" } ;
* { position=[3, 61], value="Command Code:" } ;
activity char(42)[5] { position=[4,18], protect=skip } ;
commandCode char(10)[5] { position=[4,61], protect=skip } ;
* { position=[10, 1], value="Response:" } ;
response char(228) { position=[10, 12], protect=skip } ;
* { position=[13, 1], value="Command:" } ;
myCommand char(70) { position=[13,10] } ;
* { position=[14, 1], value="Enter=Run F3=Exit"} ;
myMsg char(70) { position=[20,4] };
end
The following example shows a print form:
Form myPrintForm type printForm
{
formsize= [48, 80],
position= [1, 1],
msgField="myMsg",
alias = "form2"
}
* { position=[1, 10], value="Your ID: " } ;
ID char(70) { position=[1, 20] };
myMsg char(70) { position=[20, 4] };
end