TextBox.ScrollBarAlign Property
Access Developer Reference |
You can use the ScrollBarAlign to specify or determine the alignment of a vertical scroll bar. Read/write Byte.
Syntax
expression.ScrollBarAlign
expression A variable that represents a TextBox object.
Remarks
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. |
Example
The following example aligns the vertical scroll bar on the left side of the "Country" combo box in the "International Shipping" form.
Visual Basic for Applications |
---|
|