Share via


TextBox.ScrollBars Property (Access)

You can use the ScrollBars property to specify whether scroll bars appear on a text box control. Read/write Byte.

Syntax

expression .ScrollBars

expression A variable that represents a TextBox object.

Remarks

The ScrollBars property uses the following settings.

Setting

Visual Basic

Description

None

0

(Default) No scroll bars appear on the text box.

Vertical

2

Vertical scroll bar appears on the text box.

See Also

Concepts

TextBox Object

TextBox Object Members