SftBox/OCX 4.5

SftBox.AutoRespond Property

Softel vdm, Inc.

Defines whether the control expands and collapses items automatically.

Syntax       

Get

VB.NET

Boolean = object.AutoRespond  As Boolean

VB

Boolean = object.AutoRespond  As Boolean

C#.NET

bool Boolean = object.AutoRespond;

VC++

VARIANT_BOOL Boolean = object->AutoRespond;
VARIANT_BOOL Boolean = object->GetAutoRespond();

C

HRESULT object->get_AutoRespond(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.AutoRespond   : WordBool;

Put

VB.NET

object.AutoRespond = Boolean  As Boolean

VB

object.AutoRespond = Boolean  As Boolean

C#.NET

bool object.AutoRespond = Boolean;

VC++

VARIANT_BOOL object->AutoRespond = Boolean;
void object->PutAutoRespond(VARIANT_BOOL Boolean);

C

HRESULT object->put_AutoRespond(VARIANT_BOOL Boolean);

Delphi

object.AutoRespond := Boolean   : WordBool;

object

A SftBox object.

Boolean

Defines whether the control expands and collapses items automatically.

Boolean

Description

True

The combo box control expands and collapses items automatically. Certain ItemClick or ItemDblClk events are no longer generated.

False

The combo box control does not expand and collapse items automatically. ItemClick or ItemDblClk events can be used to implement expanding and collapsing items.

Comments

The AutoRespond property defines whether the control expands and collapses items automatically.

The AutoRespond property is used to handle the certain events automatically by expanding or collapsing an item. If the AutoRespond property is set to True, the corresponding ItemClick or ItemDblClk event is no longer generated.

If a more sophisticated response should be implemented, AutoRespond has to be set to False and all necessary event handlers have to be implemented by the application.

If AutoRespond is set to True, items are expanded or collapsed using the Item.Expand method.


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