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 a SftTabsTab object given a tab name.
Get | |||
VB | Set refTabObj = object.TabByName(ByVal TabName As String) As SftTabsTab |
object
TabName
The name of the tab to be accessed.
refTabObj
Returns a reference to the SftTabsTab object.
The TabByName property returns a SftTabsTab object given a tab name.
The TabByName property returns a SftTabsTab object for the desired tab named TabName. The name of the tab is defined using the Tab.Name property.
The properties of the tab can be updated using the returned SftTabsTab object.
Private Sub Form_Load() Dim TabIndex As Integer Dim TabObject As SftTabsLib.SftTabsTab With SftTabs1.Direct .Tabs.Clear TabIndex = .Tabs.Add("First Tab") TabIndex = .Tabs.Add("Second Tab") .Tab(TabIndex).Name = "ImportantTab" TabIndex = .Tabs.Add("Third Tab") End With TabIndex = SftTabs1.TabByName("ImportantTab").Index SftTabs1.Tabs.Current = TabIndex End Sub
See Also SftTabs Object | Object Hierarchy