|
|
|
SftBoxDropDown.Width Property |
Defines the width of the drop down portion.
Syntax
VB.NET |
W = object.Width As Single |
||
VB |
W = object.Width As Single |
||
C#.NET |
float W = object.Width; |
||
VC++ |
float W = object->Width;
|
||
C |
HRESULT object->get_Width(float* W); |
||
Delphi |
W := object.Width : Single; |
||
VB.NET |
object.Width = W As Single |
||
VB |
object.Width = W As Single |
||
C#.NET |
float object.Width = W; |
||
VC++ |
float object->Width = W;
|
||
C |
HRESULT object->put_Width(float W); |
||
Delphi |
object.Width := W : Single; |
object
A SftBoxDropDown object.
W
Defines the width of the drop down portion. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used. If 0 is used, the drop down portion has the same width as the combo box client area.
Comments
The Width property defines the width of the drop down portion.
The DropDown.Width and DropDown.WidthPix properties are synonyms, but may use different coordinate systems.
The width defined using Width property is considered a maximum value. The width of the drop down portion may be adjusted (made smaller) so the drop down portion doesn't extend beyond the edge of the screen.
The actual width of the drop down portion can be found using the DropDown.GetPosition method.
The DropDown.WidthPercent property can also be used to define the width. If the DropDown.Width property is set, the DropDown.WidthPercent property is set to 0.
The Width property must be set before the drop down portion becomes visible.
This property cannot be used with a simple combo box.