HeaderPane
Main
Hide
Share Link
Print

MinRows Property, SftTabsTabs Object

Defines the minimum number of rows (only used when LayoutMode is set to 2-AutoFlow).

Syntax

Get

VBRows = object.MinRows As Long

Put

VBobject.MinRows = Rows As Long

object

A SftTabsTabs object.

Rows

Defines the minimum number of rows allowed, while recalculating the optimal tab layout (1-32). Set to 0 to allow any number of rows.

Comments

The MinRows property defines the minimum number of rows (only used when LayoutMode is set to 2-AutoFlow).

The minimum number of rows must be smaller or equal to the number of available tabs, otherwise this property is ignored.

Example

Private Sub Form_Load()
    Dim Index As Integer
    With SftTabs1.Direct
        .Tabs.Clear
        Index = .Tabs.Add("First")
        .Tabs.Current = Index
        Index = .Tabs.Add("Second")
        Index = .Tabs.Add("Third")
        Index = .Tabs.Add("Fourth")
        Index = .Tabs.Add("Fifth")
        .Tabs.MinRows = 2
        .Tabs.MaxRows = 3
        .Tabs.LayoutMode = layoutModeAutoFlow
    End With
End Sub

See Also SftTabsTabs Object | Object Hierarchy


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