Previous Next

WORD-WRAP attribute

(Graphical interfaces only)
Indicates whether word wrapping is enabled for an editor widget.
Data type:
Access:
Applies to:
If WORD-WRAP is TRUE, the editor automatically breaks lines at any word that crosses the word wrap margin of the text area. If WORD-WRAP is FALSE, the editor continues lines beyond the editor border up to the first hard return, and scrolls as required to keep the entered text in view. The user can scroll left and right to view the entire line. The default value for WORD-WRAP is TRUE.
In graphical interfaces, the word wrap margin is set by the WIDTH-CHARS, WIDTH-PIXELS, or INNER-CHARS attribute. In character interfaces, the word wrap margin is determined by either the WIDTH-CHARS or BUFFER-CHARS attribute, whichever is larger.
In Windows, both the regular editor and the large editor support WORD-WRAP.
Note:
You can set this attribute only before the widget is realized.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.