TX Text Control ActiveX

ScrollBars Property

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 Text Formatting and Views for more information.

Syntax

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

Data Types

Integer.

See Also