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
Deletes an existing tab.
VB | object.Delete(ByVal TabIndex As Integer) |
object
TabIndex
The zero-based index of the tab to delete.
The Delete method deletes an existing tab.
A tab can only be deleted if the tab has no associated controls in the tab control's client area.
Tabs.Clear is used to delete all tabs from the tab control.
Private Sub Form_Load() Dim TabIndex As Integer, DeleteIndex As Integer With SftTabs1 .BulkUpdate = True .Tabs.Clear TabIndex = .Tabs.Add("First Tab") DeleteIndex = .Tabs.Add("Tab to be deleted") TabIndex = .Tabs.Add("Second Tab") .Tabs.Delete DeleteIndex .BulkUpdate = False End With End Sub
See Also SftTabsTabs Object | Object Hierarchy