SftDirectory 2.5

SftDirectory.DropDownWidth Property

Softel vdm, Inc.

Defines the width of the dropdown list (as a percentage of the main width of the control) when used as a combo box.

Syntax       

Get

VB.NET

Percentage = object.DropDownWidth  As Integer

VB

Percentage = object.DropDownWidth  As Long

C#.NET

int Percentage = object.DropDownWidth;

VC++

long Percentage = object->DropDownWidth;
long Percentage = object->GetDropDownWidth();

C

HRESULT object->get_DropDownWidth(long* Percentage);

Delphi

Percentage := object.DropDownWidth   : Integer;

Put

VB.NET

object.DropDownWidth = Percentage  As Integer

VB

object.DropDownWidth = Percentage  As Long

C#.NET

int object.DropDownWidth = Percentage;

VC++

long object->DropDownWidth = Percentage;
void object->PutDropDownWidth(long Percentage);

C

HRESULT object->put_DropDownWidth(long Percentage);

Delphi

object.DropDownWidth := Percentage   : Integer;

object

A SftDirectory object.

Percentage

Defines the width of the dropdown list (as a percentage of the main width of the control) when used as a combo box. Valid values are 0 or 33 and larger (33% and up).  If 0 is specified, the dropdown list is optimally sized in width, so a horizontal scroll bar is not needed.

Comments

The DropDownWidth property defines the width of the dropdown list (as a percentage of the main width of the control) when used as a combo box.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com