TXTextControl.TXTextControl.ScrollBars Property

Returns or sets a value indicating whether a Text Control has horizontal or vertical scroll bars. Scroll bars are automatically hidden when the formatting area is smaller than the control's visible area and vice versa. Therefore this property has only effect if the PageWidth and/or the PageHeight properties have been set to non-zero. See Technical Articles - Text Formatting and Views for more information.

Syntax

TXTextControl.ScrollBars [= value]
Setting Description
0 (Default) The Text Control has no scroll bars.
1 The Text Control has a horizontal scroll bar when the page width is larger than the control's width.
2 The Text Control has a vertical scroll bar when the page height is larger than the control's height.
3 The Text Control has both scroll bars.

Data Types

Integer.

See Also