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

Visual Basic: Windows Controls

Visual Studio 6.0

Arrows Property

See Also   Example   Applies To

Returns or sets a value that determines which scroll arrows will be enabled.


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.


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.


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.

© 2015 Microsoft