Returns the number of tabs.
| Get | |||
| VB | Count = object.Count As Integer |
object
Count
Returns the total number of tabs in the tab control.
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.
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 SubSee Also SftTabsTabs Object | Object Hierarchy