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
Returns the tab's index.
Get | |||
VB | TabIndex = object.Index As Integer |
object
TabIndex
Returns the zero-based index of the tab described by object. The tab index is determined by the tab's position in the control and is also returned by the methods used to add or insert tabs.
The Index property returns the tab's index.
The Index property can be used to retrieve a tab's index (or position) if a SftTabsTab object is available.
Private Sub Form_Load() Dim TabObject As SftTabsLib.SftTabsTab Dim TabIndex As Integer With SftTabs1 .Tabs.Clear TabIndex = .Tabs.Add("First Tab") Set TabObject = .Tab(TabIndex) TabIndex = .Tabs.Add("Second Tab") TabObject.Enabled = False ' disables the first tab TabIndex = TabObject.Index ' get the first tab's index End With End Sub
See Also SftTabsTab Object | Object Hierarchy