TCnTextBoxBase.WordWrap Property

Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary.

Namespace: CNClrLib.Control.TextBoxBase
protected
 property WordWrap: Boolean read GetWordWrap write SetWordWrap;

Property Value

Type: Boolean

true if the multiline text box control wraps words; false if the text box control automatically scrolls horizontally when the user types past the right edge of the control. The default is true.

If this property is set to true, horizontal scroll bars are not displayed regardless of the ScrollBars property setting.

Note

In the derived control, TTCnTextBox, text within the control will always wrap regardless of the property setting of this property unless the TextAlign property is set to Left.