SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the control's basic style.
Get | |||
VB | Style = object.Style As SftTabsStyleConstants | ||
Put | |||
VB | object.Style = Style As SftTabsStyleConstants |
object
Style
Defines the control's basic style.
Style | Value | Windows Themes | Orien- tation | Multi- Rows | Multi- Line | Margin | Client- Area | Scroll |
---|---|---|---|---|---|---|---|---|
styleSftTabsStdTop | 0 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsStdLeft | 1 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsStdLeftV 1) | 2 | vertical | yes | no | yes | yes | yes | |
styleSftTabsStdRight | 3 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsStdRightV 1) | 4 | vertical | yes | no | yes | yes | yes | |
styleSftTabsStdBottom | 5 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsStd2Top | 6 | horizontal | yes | yes | yes | no | no | |
styleSftTabsStd2Left | 7 | vertical | yes | yes | yes | no | no | |
styleSftTabsStd2LeftV 1) | 8 | vertical | yes | no | yes | no | no | |
styleSftTabsStd2Right | 9 | vertical | yes | yes | yes | no | no | |
styleSftTabsStd2RightV 1) | 10 | vertical | yes | no | yes | no | no | |
styleSftTabsStd2Bottom | 11 | horizontal | yes | yes | yes | no | no | |
styleSftTabsWizard | 12 | n/a | n/a | n/a | n/a | yes | no | |
styleSftTabsSimpleTop | 13 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSimpleBottom | 14 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsBookBottom | 15 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsBookRight | 16 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsBookRightV 1) | 17 | vertical | yes | no | yes | yes | yes | |
styleSftTabsBook2Bottom | 18 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsBook2Right | 19 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsBook2RightV 1) | 20 | vertical | yes | no | yes | yes | yes | |
styleSftTabsModernTop 2) | 21 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsModernLeftV 1) | 22 | vertical | yes | no | yes | yes | yes | |
styleSftTabsModernRightV 1) | 23 | vertical | yes | no | yes | yes | yes | |
styleSftTabsModernBottom | 24 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsModernLeft | 25 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsModernRight | 26 | vertical | yes | yes | yes | yes | yes | |
styleSftTabsSimple2Top | 27 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSimple2Bottom | 28 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSimple3Bottom | 29 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsStdDualTopBottom | 30 | horizontal | yes | yes | yes | yes | no | |
styleSftTabsStdDualLeftRight | 31 | vertical | yes | yes | yes | yes | no | |
styleSftTabsStdDualLeftRightV 1) | 32 | vertical | yes | no | yes | yes | no | |
styleSftTabsModernDualTopBottom | 33 | horizontal | yes | yes | yes | yes | no | |
styleSftTabsModernDualLeftRight | 34 | vertical | yes | yes | yes | yes | no | |
styleSftTabsModernDualLeftRightV 1) | 35 | vertical | yes | no | yes | yes | no | |
styleSftTabsSquareTop | 36 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquareLeft | 37 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquareLeftV 1) | 38 | vertical | yes | no | yes | yes | yes | |
styleSftTabsSquareRight | 39 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquareRightV 1) | 40 | vertical | yes | no | yes | yes | yes | |
styleSftTabsSquareBottom | 41 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquareDual | 42 | horizontal | yes | yes | yes | yes | no | |
styleSftTabsSquareDualLeftRightV 1) | 43 | vertical | yes | no | yes | yes | no | |
styleSftTabsSquare2Top | 44 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquare2Left | 45 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquare2LeftV 1) | 46 | vertical | yes | no | yes | yes | yes | |
styleSftTabsSquare2Right | 47 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquare2RightV 1) | 48 | vertical | yes | no | yes | yes | yes | |
styleSftTabsSquare2Bottom | 49 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsSquare2Dual | 50 | horizontal | yes | yes | yes | yes | no | |
styleSftTabsSquare2DualLeftRightV 1) | 51 | vertical | yes | no | yes | yes | no | |
styleSftTabsSquareLightTop | 52 | horizontal | no | yes | yes | yes | yes | |
styleSftTabsSquareLightLeft | 53 | horizontal | no | yes | yes | yes | yes | |
styleSftTabsSquareLightLeftV 1) | 54 | vertical | no | no | yes | yes | yes | |
styleSftTabsSquareLightRight | 55 | horizontal | no | yes | yes | yes | yes | |
styleSftTabsSquareLightRightV 1) | 56 | vertical | no | no | yes | yes | yes | |
styleSftTabsSquareLightBottom | 57 | horizontal | no | yes | yes | yes | yes | |
styleSftTabsSquareLightDual | 58 | horizontal | 1 or 2 | yes | yes | yes | no | |
styleSftTabsSquareLightDualLeftRightV 1) | 59 | vertical | 1 or 2 | yes | yes | yes | no | |
styleSftTabsModern2Top | 60 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsModern2LeftV 1) | 61 | vertical | yes | no | yes | yes | yes | |
styleSftTabsModern2RightV 1) | 62 | vertical | yes | no | yes | yes | yes | |
styleSftTabsModern2Bottom | 63 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsModern2DualTopBottom | 64 | horizontal | yes | yes | yes | yes | yes | |
styleSftTabsModern2DualLeftRightV 1) | 65 | vertical | yes | no | yes | yes | yes | |
styleSftTabsButtonsTop | 66 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsLeft | 67 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsLeftV 1) | 68 | yes | vertical | yes | no | yes | yes | yes |
styleSftTabsButtonsRight | 69 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsRightV 1) | 70 | yes | vertical | yes | no | yes | yes | yes |
styleSftTabsButtonsBottom | 71 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsDualTopBottom | 72 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsDualLeftRight | 73 | yes | horizontal | yes | yes | yes | yes | yes |
styleSftTabsButtonsDualLeftRightV 1) | 74 | yes | vertical | yes | no | yes | yes | yes |
The Style property defines the control's basic style.
Tab control styles marked 1) use a rotated font.
The Attributes property page can be used to determine the display style of the tab control, based on the defined Style property.
Depending on the tab control style defined using the Style property, certain other properties may no longer apply and are ignored. The property dialogs can be used to determine if a tab style supports certain properties.
A scrollable tab control (see Scrolling.Style) only supports one row of tabs.
2) When Windows themes are used with tab style styleSftTabsModernTop, a single tab on a tab row with insufficient space for the tab will result in an incorrect display. The only workaround is to use another tab style or to turn off Windows themes for the control (see UseThemes property).
Private Sub Form_Load() SftTabs1.Tabs.Rows = 2 SftTabs1.Style = styleSftTabsModernDualLeftRightV End Sub
See Also SftTabs Object | Object Hierarchy