ScrollBars Property

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

(Default for text boxes) No scroll bars appear on the form or text box.

0

Horizontal Only

Horizontal scroll bar appears on the form. Not applicable to text boxes.

1

Vertical Only

Vertical scroll bar appears on the form or text box.

2

Both

(Default for forms) Vertical and horizontal scroll bars appear on the form. Not applicable to text boxes.

3


You can set this property in the form or control’s property sheet or using a macro or Visual Basic.

For a text box, you can set this property using the default control style.

Remarks

If the your form is larger than the available display window, you can use the ScrollBars property to allow the user to view the entire form.

You can use the NavigationButtons property to control record navigation.

See Also

Modal Property, NavigationButtons Property, PopUp Property, RecordSelectors Property.