This documentation is archived and is not being maintained.

Visual Basic: MSTab Control

Visual Studio 6.0

TabEnabled Property (SSTab Control)

See Also   Example   Applies To

Returns or sets a value that determines whether a tab in an SSTab control is available when clicked.


object.TabEnabled(tab)[ = boolean ]

The TabEnabled property syntax has these parts:

Part Description
object An object expression that evaluates to an SSTab control.
tab A numeric expression that specifies the tab.
boolean A Boolean expression that specifies if the tab will respond to being clicked, as described in Settings.


The settings for boolean are:

Setting Description
True (Default) The tab responds when clicked.
False The tab doesn't respond when clicked.


When a tab is disabled, the text on the tab appears dimmed and the user cannot select that tab.

The TabEnabled property enables or disables a single tab. Use the Enabled property to enable or disable the entire SSTab control.