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 preferred location of the drop down portion.
Get
VB.NET | Style = object.Style As SftBoxDropDownStyleConstants |
VB | Style = object.Style As SftBoxDropDownStyleConstants |
C#.NET | SftBoxDropDownStyleConstants Style = object.Style; |
VC++ | enum SftBoxDropDownStyleConstants Style = object->Style; enum SftBoxDropDownStyleConstants Style = object->GetStyle(); |
C | HRESULT object->get_Style(enum SftBoxDropDownStyleConstants* Style); |
Put
VB.NET | object.Style = Style As SftBoxDropDownStyleConstants |
VB | object.Style = Style As SftBoxDropDownStyleConstants |
C#.NET | SftBoxDropDownStyleConstants object.Style = Style; |
VC++ | enum SftBoxDropDownStyleConstants object->Style = Style; void object->PutStyle(enum SftBoxDropDownStyleConstants Style); |
C | HRESULT object->put_Style(enum SftBoxDropDownStyleConstants Style); |
object
Style
Defines the preferred location of the drop down portion.
Style | Value | Description |
---|---|---|
ddStyleSftBoxBelow | 0 | The drop down portion is displayed below the static portion or edit control portion if possible. |
ddStyleSftBoxAbove | 1 | The drop down portion is displayed above the static portion or edit control portion if possible. |
The Style property defines the preferred location of the drop down portion.
If the drop down portion doesn't fit in the position defined using this property, the combo box displays the drop down portion on the opposite side. If the drop down portion would be displayed clipped, because it extends beyond the edge of the screen, it is displayed in the location that can accommodate more or the entire drop down portion. The Style property always returns the defined location, which is not necessarily the same as the actual location.
DropDown.GetPosition can be used to retrieve the coordinates of the drop down portion.
The Style property must be set before the drop down portion becomes visible.
This property has no effect on a simple combo box.
See Also SftBoxDropDown Object | Object Hierarchy