Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxDropDown.DropOnFocus Property

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

Syntax

Get

VB.NETBoolean = object.DropOnFocus As Boolean
VBBoolean = object.DropOnFocus As Boolean
C#.NETbool Boolean = object.DropOnFocus;
VC++VARIANT_BOOL Boolean = object->DropOnFocus;
VARIANT_BOOL Boolean = object->GetDropOnFocus();
CHRESULT object->get_DropOnFocus(VARIANT_BOOL* Boolean);

Put

VB.NETobject.DropOnFocus = Boolean As Boolean
VBobject.DropOnFocus = Boolean As Boolean
C#.NETbool object.DropOnFocus = Boolean;
VC++VARIANT_BOOL object->DropOnFocus = Boolean;
void object->PutDropOnFocus(VARIANT_BOOL Boolean);
CHRESULT object->put_DropOnFocus(VARIANT_BOOL Boolean);

object

A SftBoxDropDown object.

Boolean

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

BooleanDescription
TrueThe drop down portion automatically becomes visible when the control receives the input focus.
FalseThe 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.

See Also SftBoxDropDown Object | Object Hierarchy


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