Visual Basic: RichTextBox Control
Returns or sets a value that determines whether scroll bars in the RichTextBox control are disabled.
object.DisableNoScroll [= boolean]
The DisableNoScroll property syntax has these parts:
|object||An object expression that evaluates to an object in the Applies To list.|
|Boolean||A Boolean expression specifying whether or not the scroll bars are enabled, as described in Settings.|
The settings for boolean are:
|False||(Default) Scroll bars appear normally when displayed.|
|True||Scroll bars appear dimmed when displayed.|
The DisableNoScroll property is ignored when the ScrollBars property is set to 0 (None). However, when ScrollBars is set to 1 (Horizontal), 2 (Vertical), or 3 (Both), individual scroll bars are disabled when there are too few lines of text to scroll vertically or too few characters of text to scroll horizontally in the RichTextBox control.