Share via


Visual Basic: MSTab Control

TabVisible Property (SSTab Control)

See Also   Example   Applies To

Returns or sets a value indicating if a tab in an SSTab control is visible or hidden. Not available at design time.

Syntax

object.TabVisible(tab) [ = boolean ]

The TabVisible 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 you want to be visible or hidden.
boolean A Boolean expression that specifies if the tab is visible or hidden, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True (Default) Tab is visible.
False Tab is hidden. Other tabs adjust their position so there are no gaps between tabs.

Remarks

The TabVisible property hides or displays a single tab. Use the Visible property to hide or display the entire SSTab control.