Visual Basic: MSTab Control

Style Property (SSTab Control)

See Also   Example   Applies To

Returns or sets the style of the tabs on an SSTab control.

Syntax

object.Style [ = value ]

The Style property syntax has these parts:

Part Description
object An object expression that evaluates to an SSTab control.
value A constant or integer that specifies the style of the tabs, as described in Settings.

Settings

The settings for value are:

Constant Value Description
ssStyleTabbedDialog 0 (Default) The tabs that appear in the tabbed dialogs look like those in Microsoft Office for Microsoft Windows 3.1 applications. If you select this style, the active tab's font is bold.
ssStylePropertyPage 1 The tabs that appear in the tabbed dialogs look like those in Microsoft Windows 95 (or later). When you select this setting, the TabMaxWidth property is ignored and the width of each tab adjusts to the length of the text in its caption. The font used to display text in the tab is not bold.