Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.Count Property

Returns the number of tabs.

Syntax

Get
VBCount = object.Count As Integer

object

A SftTabsTabs object.

Count

Returns the total number of tabs in the tab control.

Comments

The Count property returns the number of tabs.

Tabs can be added using Tabs.Add or Insert. Tabs can be removed using Delete or Clear.

At design-time, tabs can be added and removed using the Tab Detail property page.

Example

Private Sub Form_Load()
    Dim TabIndex As Integer
    With SftTabs1
        For TabIndex = 0 To .Tabs.Count - 1
            .Tab(TabIndex).ToolTip = "ToolTip for tab number " & TabIndex
        Next
    End With
End Sub

See Also SftTabsTabs Object | Object Hierarchy


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