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.NET | Style = object.ControlStyle As SftDirectoryStyleConstants |
VB | Style = object.ControlStyle As SftDirectoryStyleConstants |
C#.NET | SftDirectoryStyleConstants Style = object.ControlStyle; |
VC++ | enum SftDirectoryStyleConstants Style = object->ControlStyle; enum SftDirectoryStyleConstants Style = object->GetControlStyle(); |
C | HRESULT object->get_ControlStyle(enum SftDirectoryStyleConstants* Style); |
Put
VB.NET | object.ControlStyle = Style As SftDirectoryStyleConstants |
VB | object.ControlStyle = Style As SftDirectoryStyleConstants |
C#.NET | SftDirectoryStyleConstants object.ControlStyle = Style; |
VC++ | enum SftDirectoryStyleConstants object->ControlStyle = Style; void object->PutControlStyle(enum SftDirectoryStyleConstants Style); |
C | HRESULT object->put_ControlStyle(enum SftDirectoryStyleConstants Style); |
object
Style
Defines the control's basic style.
Style | Value | Description | |
---|---|---|---|
styleSftDirectoryTreeView | 0 | TreeView-Style TreeView displaying a hierarchical list of folders - supports multiple columns and single/multiple selection | |
styleSftDirectoryDetailList | 1 | DetailList-Style Flat list of folders - supports multiple columns and single/multiple selection | |
styleSftDirectoryComboBoxTreeView | 2 | ComboBox TreeView-Style Combo box displaying a hierarchical list of folders - supports multiple columns and single selection | |
styleSftDirectoryComboBoxDetailList | 3 | ComboBox DetailList-Style Combo box displaying a flat list of folders - supports multiple columns and single selection |
The ControlStyle property defines the control's basic style.
All controls styles support multiple columns and most other properties. The combo box styles (styleSftDirectoryComboBoxTreeView and styleSftDirectoryComboBoxDetailList) however do not support multiple selection and the MultiSelect property is ignored.
The QuickSetup property page can be used to choose one of the predefined controls, which can be further refined by modifying the control's properties.
OLE drag & drop is not supported with combo box style controls.
See Also SftDirectory Object | Object Hierarchy