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 presence of horizontal and vertical scroll bars.
Get
VB.NET | Style = object.Scrollbars As SftTreeScrollbarsConstants |
VB | Style = object.Scrollbars As SftTreeScrollbarsConstants |
C#.NET | SftTreeScrollbarsConstants Style = object.Scrollbars; |
VC++ | enum SftTreeScrollbarsConstants Style = object->Scrollbars; enum SftTreeScrollbarsConstants Style = object->GetScrollbars(); |
C | HRESULT object->get_Scrollbars(enum SftTreeScrollbarsConstants* Style); |
Put
VB.NET | object.Scrollbars = Style As SftTreeScrollbarsConstants |
VB | object.Scrollbars = Style As SftTreeScrollbarsConstants |
C#.NET | SftTreeScrollbarsConstants object.Scrollbars = Style; |
VC++ | enum SftTreeScrollbarsConstants object->Scrollbars = Style; void object->PutScrollbars(enum SftTreeScrollbarsConstants Style); |
C | HRESULT object->put_Scrollbars(enum SftTreeScrollbarsConstants Style); |
object
Style
Defines the presence of horizontal and vertical scroll bars.
Style | Value | Description |
---|---|---|
scrollSftTreeNone | 0 | No scroll bars are shown. |
scrollSftTreeHorz | 1 | A horizontal scroll bar is shown if horizontal scrolling is possible, because the horizontal extent is wider than the display area of the tree control, otherwise the horizontal scroll bar is not shown. For more information, see the Items.HorizontalExtent property. |
scrollSftTreeVert | 2 | A vertical scroll bar is shown if vertical scrolling is possible, because more items are visible than fit into the display area of the tree control, otherwise the vertical scroll bar is not shown. |
scrollSftTreeBoth | 3 | The horizontal and vertical scroll bars are shown if needed. See scrollSftTreeHorz and scrollSftTreeVert. |
scrollSftTreeHorzDis | 4 | The horizontal scroll bar is always shown. The scroll bar is enabled if horizontal scrolling is possible, because the horizontal extent is wider than the display area of the tree control, otherwise the horizontal scroll bar is disabled. For more information, see the Items.HorizontalExtent property. |
scrollSftTreeVertDis | 5 | The vertical scroll bar is always shown. The scroll bar is enabled if more items are visible than fit into the display area of the tree control, otherwise the vertical scroll bar is disabled. |
scrollSftTreeBothDis | 6 | The scroll bars are always shown. The scroll bars may be enabled and disabled as described with scrollSftTreeHorzDis and scrollSftTreeVertDis. |
The Scrollbars property defines the presence of horizontal and vertical scroll bars.
Horizontal scrolling is also dependent on the settings of the Items.HorizontalExtent property or the use of the Items.RecalcHorizontalExtent method.
The visual appearance of the scroll bars can be defined using the ScrollbarStyle property.
This property is read/only at run-time.
See Also SftTree Object | Object Hierarchy