Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

NavigationControl.ScrollBarAlign Property (Access)

You can use the ScrollBarAlign to specify or determine the alignment of a vertical scroll bar. Read/write Byte.

Version Added: Access 2010

expression .ScrollBarAlign

expression A variable that represents a NavigationControl object.

The ScrollBarAlign property uses the following settings.

Setting

Visual Basic

Description

System

0

Vertical scroll bar is placed on the left if the form or report Orientation property is right to left; and on the right if the form or report Orientation property is left to right.

Right

1

Aligns vertical scroll bar on the right side of the control.

Left

2

Aligns vertical scroll bar on the left side of the control.

The following example aligns the vertical scroll bar on the left side of the "Country" combo box in the "International Shipping" form.

Forms("International Shipping").Controls("Country").ScrollBarAlign = 2
Show:
© 2015 Microsoft