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 scrolling style.
Get | |||
VB | Style = object.Style As SftTabsScrollingStyleConstants | ||
Put | |||
VB | object.Style = Style As SftTabsScrollingStyleConstants |
object
Style
Defines the control's scrolling style.
Style | Value | Description |
---|---|---|
scrollSftTabsNone | 0 | The tab control is not scrollable. |
scrollSftTabsAlwaysRight | 1 | The tab control is scrollable, always displays the scroll buttons and the scroll buttons are located on the right (or bottom). |
scrollSftTabsAlwaysLeft | 2 | The tab control is scrollable, always displays the scroll buttons and the scroll buttons are located on the left (or top). |
scrollSftTabsCondRight | 3 | The tab control is scrollable. Scroll buttons are only displayed if the user can scroll in at least one direction. Otherwise the scroll buttons are hidden. When displayed, scroll buttons are on the right (or bottom). |
scrollSftTabsCondLeft | 4 | The tab control is scrollable. Scroll buttons are only displayed if the user can scroll in at least one direction. Otherwise the scroll buttons are hidden. When displayed, scroll buttons are on the left (or top). |
scrollSftTabsHide | 5 | The tab control is scrollable. Scroll buttons are not displayed. An application can provide its own scrolling mechanism using the Scrolling.Scroll method. |
The Style property defines the control's scrolling style.
Depending on the scrolling 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 scrolling type supports certain properties.
Not all tab control styles (see Style property) support scrollable tabs. The property dialogs can be used to determine if a tab control style supports scrolling.
A scrollable tab control can only display one row of tabs. If the Style property is set to a value that defines a scrollable tab control, the Tabs.Rows property is automatically set to 1 and the Tabs.FillComplete property is set to False.
The Scrolling.ToolTipLeftButton and Scrolling.ToolTipRightButton properties can be used to define the scroll button ToolTips.
The Scrolling.ScrollDropped property returns whether the scroll buttons have been temporarily dropped because they are not necessary (scrolling is not possible).
Private Sub Form_Load() With SftTabs1 .Scrolling.Style = scrollSftTabsAlwaysLeft .Scrolling.FullSize = True .ClientArea = False .MakeNaturalSize End With End Sub
See Also SftTabsScrolling Object | Object Hierarchy