Applies To Form, Text Box control.
Description
You can use the ScrollBars property to specify whether scroll bars appear on a form or in a text box control.
Setting
The ScrollBars property uses the following settings.
Setting | Description | Visual Basic |
Neither (forms) None (text boxes) | (Default for text boxes) No scroll bars appear on the form or text box. | 0 |
Horizontal Only (forms) | Horizontal scroll bar appears on the form. Not applicable to text boxes. | 1 |
Vertical Only (forms) Vertical (text boxes) | Vertical scroll bar appears on the form or text box. | 2 |
Both (forms) | (Default for forms) Vertical and horizontal scroll bars appear on the form. Not applicable to text boxes. | 3 |
See Also Modal property, NavigationButtons property, PopUp property, RecordSelectors property.