Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.Clear Method

Removes all tabs.

Syntax

VBobject.Clear

object

A SftTabsTabs object.

Comments

The Clear method removes all tabs.

A tab can only be deleted if the tab has no associated controls in the tab control's client area.

Tabs.Delete is used to delete one tab from the tab control.

Example

Private Sub Form_Load()
    Dim TabIndex As Integer
    With SftTabs1
        .BulkUpdate = True
        .Tabs.Clear
        TabIndex = .Tabs.Add("First Tab")
        TabIndex = .Tabs.Add("Second Tab")
        .BulkUpdate = False
    End With
End Sub

See Also SftTabsTabs Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.