set considerations for Text UI
In the context of Text UI, the EGL set statement allows you to reset all fields in a text or print form or, alternatively, to change properties and characteristics of a field in a text form.
Syntax

- formName
- The name of a print form whose fields you want to reset, or the name of a text form for which you want to change one or more field properties.
- formFieldName
- The name of a field within a print or text form.
- value
- Different values are available for forms and form fields.
Combining values
You can combine set statement values, inserting a comma to separate options such as cursor and full. Be aware that some values are contradictory or potentially redundant, and that EGL runs each modifier in order, moving left to right.
Here are some requirements for combining values:
- If you are initializing a field, choose no more than one of the
following values:
- initial
- initialAttributes
- normal
- cursor
- empty
- full
- For other fields, you can combine any of the following:
- Choose any number of the following options:
- cursor
- full
- modified
- Choose no more than one color option:
- black
- blue
- defaultColor
- green
- magenta
- red
- cyan
- white
- yellow
- Choose no more than one of the highlight options:
- blink
- reverse
- underline
- noHighlight
- Choose no more than one of the protection options:
- protect
- skip
- unprotect
- Choose any number of the following options:
Example
In the following example, the cursor property
for the customerName field is reset to its initial
value.
set myTextForm.customerName initial, cursor;
Compatibility
| Platform | Issue |
|---|---|
| COBOL generation |
|
| Java™ generation | The blink modifier is not available |