Visual Basic: MSTab Control

Visual Studio 6.0

Tabs Property (SSTab Control)

See Also   Example   Applies To

Returns or sets the total number of tabs on an SSTab control.


object.Tabs [ = tabnumber ]

The Tabs property syntax has these parts:

Part Description
object An object expression that evaluates to an SSTab control.
tabnumber A numeric expression that specifies the number of tabs you want on the control. The tabs are automatically given the captions Tab x where x is 0, 1, 2, 3, and so on.


You can change the Tabs property at run time to add new tabs or remove tabs.

At design time, use the Tabs property in conjunction with the TabsPerRow property to determine the number of rows of tabs displayed by the control. At run time, use the Rows property.