Visual Basic: MSTab Control

TabOrientation Property (SSTab Control)

See Also   Example   Applies To

Returns or sets the location of the tabs on the SSTab control.

Syntax

object.TabOrientation [ = number ]

The TabOrientation property syntax has these parts:

Part Description
object An object expression that evaluates to an SSTab control.
number A numeric expression that specifies the location of the tabs, as described in Settings.

Settings

The settings for number are:

Constant Value Description
ssTabOrientationTop 0 The tabs appear at the top of the control.
ssTabOrientationBottom 1 The tabs appear at the bottom of the control.
ssTabOrientationLeft 2 The tabs appear on the left side of the control.
ssTabOrientationRight 3 The tabs appear on the right side of the control.

Remarks

If you are using TrueType fonts, the text is rotated when the TabOrientation property is set to ssTabOrientationLeft or ssTabOrientationRight.