HeaderPane
Main
Hide
Share Link
Print

Rows Property, SftTabsTabs Object

Defines the number of tab rows.

Syntax

Get

VBCount = object.Rows As Integer

Put

VBobject.Rows = Count As Integer

object

A SftTabsTabs object.

Count

Defines the number of tab rows.

Comments

The Rows property defines the number of tab rows.

Scrollable tab controls always have exactly one row of tabs. If the Rows property is set to a value other than 1, scrolling is automatically disabled (see Scrolling.Style).

Tabs are automatically distributed among the number of defined tab rows, based on the Tabs.LayoutMode property.

The number of rows defined must be smaller or equal to the number of available tabs, as each row displays at least one tab.

Example

Private Sub Form_Load()
    SftTabs1.Tabs.Rows = 2
    SftTabs1.Tabs.Fixed = True
    SftTabs1.Tabs.LeftMargin = 200
    SftTabs1.Tabs.RightMargin = 200
    SftTabs1.Tabs.RowIndent = 400
End Sub

Examples

VB6 View entire sample code

    Set tb = SftTabs1.Tab(SftTabs1.Tabs.Current)
    tb.Enabled = Not tb.Enabled
End Sub

Private Sub SwitchStyleButton_Click()
    SftTabs1.BulkUpdate = True
    If SftTabs1.Style = styleSftTabsModernTop Then
        SftTabs1.Style = styleSftTabsButtonsTop
        SftTabs1.Tabs.Rows = 2
    ElseIf SftTabs1.Style = styleSftTabsButtonsTop Then
        SftTabs1.Style = styleSftTabsModernTop
        SftTabs1.Tabs.Rows = 1
    End If
    SftTabs1.BulkUpdate = False
End Sub

See Also SftTabsTabs Object | Object Hierarchy


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