Visual Basic: Windows Controls

Orientation Property (FlatScrollBar Control)

See Also   Example   Applies To

Returns or sets a value that determines the orientation (horizontal or vertical) of the object.


object.Orientation [= integer]

The Orientation 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 that determines the orientation of the control, as shown in Settings.


The settings for integer are:

Constant Value Description
cc2OrientationHorizontal 0 (Default) The control is oriented horizontally.
cc2OrientationVertical 1 The control is oriented vertically.