|
|
|
SftMask.DropDownWidth Property |
Defines the width of the drop down button.
Syntax
VB.NET |
Style = object.DropDownWidth As SftMaskDropDownWidthConstants |
||
VB |
Style = object.DropDownWidth As SftMaskDropDownWidthConstants |
||
C#.NET |
SftMaskDropDownWidthConstants Style = object.DropDownWidth; |
||
VC++ |
enum SftMaskDropDownWidthConstants Style = object->DropDownWidth;
|
||
C |
HRESULT object->get_DropDownWidth(enum SftMaskDropDownWidthConstants* Style); |
||
Delphi |
Style := object.DropDownWidth : TOleEnum; |
||
VB.NET |
object.DropDownWidth = Style As SftMaskDropDownWidthConstants |
||
VB |
object.DropDownWidth = Style As SftMaskDropDownWidthConstants |
||
C#.NET |
SftMaskDropDownWidthConstants object.DropDownWidth = Style; |
||
VC++ |
enum SftMaskDropDownWidthConstants object->DropDownWidth = Style;
|
||
C |
HRESULT object->put_DropDownWidth(enum SftMaskDropDownWidthConstants Style); |
||
Delphi |
object.DropDownWidth := Style : TOleEnum; |
object
A SftMask object.
Style
Defines the width of the drop down button.
Name |
Value |
Description |
0 |
Normal - The width of the drop down button is determined automatically (based on the control's height) to make the button appear as square as possible. |
|
1 |
Width of a vertical scrollbar - The width of the drop down button is identical to the width of a vertical scrollbar as defined by the Windows API GetSystemMetrics(SM_CXVSCROLL) and a down arrow is displayed. |
|
2 |
On Windows Vista and above, if Windows themes are used, the drop down button is two times the width of a vertical scrollbar and an icon representing a popup calendar is displayed instead of a down arrow. On earlier operating systems or if Windows themes are not used, the ddwidthSftMaskCalendar is equivalent to ddwidthSftMaskVScroll. |
Comments
The DropDownWidth property defines the width of the drop down button.
The EditStyle property controls the presence of the the drop down button.