Sets or returns the placement of the arrow buttons on the UpDown control. This property is read-only at run time.
Syntax
object.Orientation
The Orientation property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
Settings
The settings for the Orientation property are:
Constant | Value | Description |
cc2orientationVertical | 0 | (Default). The arrow buttons are positioned vertically. |
cc2orientationHorizontal | 1 | The arrow buttons are positioned horizontally. |
Remarks
At design time, this property can be set in the Properties window or through the control's property page.
When setting the Orientation property, the UpDown control automatically repositions itself next to its buddy control.