Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.MinRows Property

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-16). 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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.