SftBox/OCX 4.5

SftBoxDropDown.DropOnFocus Property

Softel vdm, Inc.

Defines whether the drop down portion is shown when the control receives the input focus.

Syntax       

Get

VB.NET

Boolean = object.DropOnFocus  As Boolean

VB

Boolean = object.DropOnFocus  As Boolean

C#.NET

bool Boolean = object.DropOnFocus;

VC++

VARIANT_BOOL Boolean = object->DropOnFocus;
VARIANT_BOOL Boolean = object->GetDropOnFocus();

C

HRESULT object->get_DropOnFocus(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.DropOnFocus   : WordBool;

Put

VB.NET

object.DropOnFocus = Boolean  As Boolean

VB

object.DropOnFocus = Boolean  As Boolean

C#.NET

bool object.DropOnFocus = Boolean;

VC++

VARIANT_BOOL object->DropOnFocus = Boolean;
void object->PutDropOnFocus(VARIANT_BOOL Boolean);

C

HRESULT object->put_DropOnFocus(VARIANT_BOOL Boolean);

Delphi

object.DropOnFocus := Boolean   : WordBool;

object

A SftBoxDropDown object.

Boolean

Defines whether the drop down portion is shown when the control receives the input focus.

Boolean

Description

True

The drop down portion automatically becomes visible when the control receives the input focus.

False

The drop down portion does not change when the control receives the input focus.

Comments

The DropOnFocus property defines whether the drop down portion is shown when the control receives the input focus.

If the control already has the input focus when this property is set, the drop down portion remains unchanged.

The DropDown.Dropped property can be used to display and hide the drop down portion.

This property has no effect on a simple combo box.


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