Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

DropDownWidth Property, SftMask Object

Defines the width of the drop down button.

Syntax

Get

VB.NETStyle = object.DropDownWidth As SftMaskDropDownWidthConstants
VBStyle = object.DropDownWidth As SftMaskDropDownWidthConstants
C#.NETSftMaskDropDownWidthConstants Style = object.DropDownWidth;
VC++enum SftMaskDropDownWidthConstants Style = object->DropDownWidth;
enum SftMaskDropDownWidthConstants Style = object->GetDropDownWidth();
CHRESULT object->get_DropDownWidth(enum SftMaskDropDownWidthConstants* Style);

Put

VB.NETobject.DropDownWidth = Style As SftMaskDropDownWidthConstants
VBobject.DropDownWidth = Style As SftMaskDropDownWidthConstants
C#.NETSftMaskDropDownWidthConstants object.DropDownWidth = Style;
VC++enum SftMaskDropDownWidthConstants object->DropDownWidth = Style;
void object->PutDropDownWidth(enum SftMaskDropDownWidthConstants Style);
CHRESULT object->put_DropDownWidth(enum SftMaskDropDownWidthConstants Style);

object

A SftMask object.

Style

Defines the width of the drop down button.

NameValueDescription
ddwidthSftMaskNormal0Normal - 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.
ddwidthSftMaskVScroll1Width 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.
ddwidthSftMaskCalendar2On 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 drop down button.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.