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
Each tab can have an optional tab close button. The tab close button can be enabled for each tab using the SftTabsTab.CloseButton property.
Once enabled, the active tab always displays the tab close button. Other tabs only display the tab close button when the mouse cursor is over the tab.
When the user clicks on a tab close button, the TabClicked event occurs with the TabArea argument set to tabareaSftTabsImage2.
Private Sub Form_Load() Dim Index As Integer With SftTabs1.Direct .Tabs.Clear For Index = 0 To 20 Index = .Tabs.Add("Tab " & Index) .Tab(Index).CloseButton = True Next .Tabs.LayoutMode = layoutModeAutoFlow .Tabs.Current = 0 End With End Sub Private Sub SftTabs1_TabClicked(ByVal DblClick As Boolean, ByVal TabClicked As Integer, ByVal TabArea As SftTabsLib.SftTabsTabAreaConstants) If TabArea = tabareaSftTabsImage2 Then SftTabs1.Tabs.Delete TabClicked End If End Sub