SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the currently active tab.
Get | |||
VB | TabIndex = object.Current As Integer | ||
Put | |||
VB | object.Current = TabIndex As Integer |
object
TabIndex
The zero-based index of the currently active tab. This value may be -1 in which case there is no active tab.
The Current property defines the currently active tab.
The active tab (or current tab) is the tab that is currently the active tab, usually in the front row. The tab text also receives a focus rectangle when the tab control has the input focus.
The current tab can be changed by the user using the mouse or the keyboard. An application uses the Current property to change the currently active tab.
If the client area is available (see ClientArea property), controls can be added to the tab control at design-time. As the user switches between tabs, the controls associated with each tab are shown or hidden. As controls are hidden because their associated tab is not the current tab, the controls are not only hidden, but also disabled (using Visual Basic's Enabled property). This is fully automatic and requires no application intervention.
If the tab control is empty, the Current property returns -1.
SftTabs1.Tabs.Current = 2
See Also SftTabsTabs Object | Object Hierarchy