Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTab.Name Property

Defines the tab's name.

Syntax

Get
VBName = object.Name As String
Put
VBobject.Name = Name As String

object

A SftTabsTab object.

Name

A String that defines the tab's Name.

Comments

The Name property defines the tab's name.

The tab's name is only used internally by an application instead of using a tab index. The tab name is not visible to the end-user of an application. The TabByName property can be used to locate tabs based on their defined name.

Example

Private Sub Form_Load()
    Dim TabIndex As Integer
    Dim TabObject As SftTabsLib.SftTabsTab
    With SftTabs1.Direct
        .Tabs.Clear
        TabIndex = .Tabs.Add("First Tab")
        TabIndex = .Tabs.Add("Second Tab")
        .Tab(TabIndex).Name = "ImportantTab"
        TabIndex = .Tabs.Add("Third Tab")
    End With
    TabIndex = SftTabs1.TabByName("ImportantTab").Index
    SftTabs1.Tabs.Current = TabIndex
End Sub

See Also SftTabsTab Object | Object Hierarchy


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