lineWrap

The lineWrap property indicates whether the contents of the associated text field can be wrapped onto a new line to avoid truncating text.

Use the lineWrapType enumeration to specify values for this property. The lineWrapType enumeration has the following values:
character (the default)
The text in a field is not split at a white space.
compress
The text in a console field splits at a white space; however, 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 splits at a white space.

The property affects input and output.

Compatibility

Table 1. Support for lineWrap property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes No No Yes No No No No

Feedback