Returns or sets a value that determines which scroll arrows will be enabled.
Syntax
object.Arrows [= integer]
The Arrows property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
integer | A numeric expression specifying the enabled scroll button or buttons, as described in Settings. |
Settings
The settings for integer are:
Constant | Value | Description |
cc2Both | 0 | (Default) Both the left and right (or up and down, depending on Orientation) scroll arrows will be enabled. |
cc2LeftUp | 1 | Only the left (or up) scroll button will be enabled. |
cc2RightDown | 2 | Only the right (or down) scroll button will be enabled. |
Remarks
When the Orientation of the FlatScrollBar changes from horizontal to vertical, the left scroll arrow becomes the up arrow, and the right scroll arrow becomes the down arrow.
The most common use of the Arrows property is to disable the appropriate scroll arrow when the maximum or minimum value of the control is reached.