The EGL property lineWrap indicates whether text
can be wrapped onto a new line whenever wrapping is necessary to avoid truncating
text.
Valid values are of the enumeration
lineWrapType:
- character (the default)
- The text in a field will not be split at a white space.
- compress
- The text in a field of type ConsoleField will be split at a white space;
but when the user leaves the field (either by navigating to another field
or by pressing Esc), any extra spaces that are used to wrap text are removed.
This value is valid only in console fields.
- word
- If possible, the text in a field will be split at a white space.
The property
lineWrap is available in DataItem
parts and is meaningful for fields that appear in the following contexts:
- Console forms
- Print forms
- Text forms
- Web pages
The property affects input and output.