WordWrap Property
Applies To
TextBox
Description
Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary.
Usage
GGet Form.Control.WordWrap, var
GSet Form.Control.WordWrap, value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name. The control must exist in the specified form.
- var
- Boolean variable that will contain the value of the property.
- value
- Boolean expression for the new value of the property.
Values
True : The multiline text box control wraps words
False : The text box control automatically scrolls horizontally when the user types past the right edge of the control.
Default: True
See Also
TextBox, Multiline, ScrollBars
Example
GSet frmMain.txtStatus.WordWrap, True