HeaderPane
Main
Hide
Share Link
Print

Tabs Property, SftTabs Object

Returns the SftTabsTabs object.

Syntax

Get

VBSet refTabsObj = object.Tabs As SftTabsTabs

object

A SftTabs object.

refTabsObj

Returns a reference to the control's SftTabsTabs object.

Comments

The Tabs property returns the SftTabsTabs object.

The Tabs property returns the SftTabsTabs object for the control. The default properties and behavior of all tabs can be updated using the returned SftTabsTabs object.

A SftTabsTab object for a specific tab can be retrieved using the Tab property.

Example

Private Sub Form_Load()
    With SftTabs1.Direct
        .Tabs.Clear
        .Tabs.Add "First Tab"
        .Tabs.Add "Second Tab"
     End With
End Sub

Examples

VB6 View entire sample code

    Call SftTabs1_Switched
End Sub

Private Sub SftTabs1_Switched()
    With SftTabs1
        ' The tab page is now active
        ' Replace the tab picture with the image that shows that
        ' the page has now been visited
        Set .Tab(.Tabs.Current).Image.Picture = Image1(.Tabs.Current)
        ' Update the form's title
        Form1.Caption = .Tab(.Tabs.Current).Text & " Options"
    End With
End Sub

Private Sub TabPos_Click()
    With SftTabs1.Tab(SftTabs1.Tabs.Current)

See Also SftTabs Object | Object Hierarchy


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.