|
|
|
SftDirectory.ControlStyle Property |
Defines the control's basic style.
Syntax
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;
|
||
C |
HRESULT object->get_ControlStyle(enum SftDirectoryStyleConstants* Style); |
||
Delphi |
Style := object.ControlStyle : TOleEnum; |
||
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;
|
||
C |
HRESULT object->put_ControlStyle(enum SftDirectoryStyleConstants Style); |
||
Delphi |
object.ControlStyle := Style : TOleEnum; |
object
A SftDirectory object.
Style
Defines the control's basic style.
Style |
Value |
Description |
|
0 |
|
TreeView-Style |
|
1 |
|
DetailList-Style |
|
2 |
|
ComboBox TreeView-Style |
|
3 |
|
ComboBox DetailList-Style |
Comments
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.