property Edit.ScrollBars as ScrollBarsEnum
Specifies the type of scroll bars that control has.

TypeDescription
ScrollBarsEnum A ScrollBarsEnum expression that indicates the control's scroll bars.

Use the ScrollBars property to specifies the scrollbars used by the control. By default, the control's ScrollBars property is exBoth. The control displays the scroll bars only when they are required. Use the Font property to specify the control's font. The Font property indicates the height of the line too. For instance, if the control has no lines inside, the control displays no scroll bars, even if the property ScrollBars is exBoth. Use the Count property to count the number of lines in the control. Use the EnsureVisibleLine method to ensure that the specified line fits the control's client area. If required, the control is scrolled until the line is visible.