Type: Boolean
Availability: Read or write at any time
The scrollVertical property of TextBox controls specifies whether the text in a text box control scrolls vertically.
The settings for the scrollVertical property are listed in the following table.
Value | Description |
---|---|
false | None (the default) |
true | Text scrolls when the size of the text box is exceeded by the entered text |
By default, the text in a text box does not scroll vertically when the text is about to exceed the vertical size of the control. If the height of the text box allows for more than one line of text, the text word-wraps onto the next line, until all visible lines are full.
Setting the scrollBars property so that a vertical scroll bar is displayed causes the scrollVertical property to be set to true.
Setting the scrollVertical property to true does not cause scroll bars to be displayed, as this is achieved by setting the scrollBars property.