HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

AutoRespond Property, SftTree Object

Defines whether the tree control expands and collapses items automatically.

Syntax

Get

VB.NETBoolean = object.AutoRespond As Boolean
VBBoolean = object.AutoRespond As Boolean
C#.NETbool Boolean = object.AutoRespond;
VC++VARIANT_BOOL Boolean = object->AutoRespond;
VARIANT_BOOL Boolean = object->GetAutoRespond();
CHRESULT object->get_AutoRespond(VARIANT_BOOL* Boolean);

Put

VB.NETobject.AutoRespond = Boolean As Boolean
VBobject.AutoRespond = Boolean As Boolean
C#.NETbool object.AutoRespond = Boolean;
VC++VARIANT_BOOL object->AutoRespond = Boolean;
void object->PutAutoRespond(VARIANT_BOOL Boolean);
CHRESULT object->put_AutoRespond(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether the tree control expands and collapses items automatically.

BooleanDescription
TrueThe tree control expands and collapses items automatically. Certain ItemClick or ItemDblClick events are no longer generated.
FalseThe tree control does not expand and collapse items automatically. ItemClick or ItemDblClick events can be used to implement expanding and collapsing items.

Comments

The AutoRespond property defines whether the tree 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 ItemDblClick 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.

Examples

VB6

      DeletePropFile  =   0
      IntVal          =   55
      xBfStyle1       =   64044624
      xBfStyle2       =   -1014846369
      xBfStyle3       =   -1062113761
      xBfStyle4       =   793678321
      FlatProperties  =   0
      Appearance      =   1
      AutoRespond     =   -842150451
      BackgroundStyle =   0
      BackgroundX     =   0
      BackgroundY     =   0
      BorderStyle     =   0
      ButtonStyle     =   2
      CellEventHandling=   0
      CellEditStyle   =   0

See Also SftTree Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.