|
|
|
SftBoxDropDown.Style Property |
Defines the preferred location of the drop down portion.
Syntax
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;
|
||
C |
HRESULT object->get_Style(enum SftBoxDropDownStyleConstants* Style); |
||
Delphi |
Style := object.Style : TOleEnum; |
||
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;
|
||
C |
HRESULT object->put_Style(enum SftBoxDropDownStyleConstants Style); |
||
Delphi |
object.Style := Style : TOleEnum; |
object
A SftBoxDropDown object.
Style
Defines the preferred location of the drop down portion.
Style |
Value |
Description |
0 |
The drop down portion is displayed below the static portion or edit control portion if possible. |
|
1 |
The drop down portion is displayed above the static portion or edit control portion if possible. |
Comments
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.