Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.Alignment Property

Defines the alignment of all tabs within the control.

Syntax

Get
VBStyle = object.Alignment As SftTabsTabsAlignConstants
Put
VBobject.Alignment = Style As SftTabsTabsAlignConstants

object

A SftTabsTabs object.

Styletable row cellh Name cellh Value cellh Description row cell tabsAlignLeft cell 0 cell Left/Top - Each row of tabs is left aligned within the available space. Tab controls with tabs on the left or right side align the tab rows with the top of the control. row cell tabsAlignRight cell 1 cell Right/Bottom - Each row of tabs is right-aligned within the available space. Tab controls with tabs on the left or right side align the tab rows with the bottom of the control.

Comments

The Alignment property defines the alignment of all tabs within the control.

Tab rows are filled left to right. Tab rows cannot be filled right to left.

The alignment of tab text or tab images is defined using the SftTabsTab.Align property.

Example

Dim Index As Integer
    With SftTabs1.Direct
        .Tabs.Clear
        Index = .Tabs.Add("The One")
        .Tabs.Alignment = tabsAlignRight
        .Tabs.Current = Index
    End With

See Also SftTabsTabs Object | Object Hierarchy


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