HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

UpdateCurrentExpandCollapse Property, SftTreeItems Object

Defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.

Syntax

Get

VB.NETBoolean = object.UpdateCurrentExpandCollapse As Boolean
VBBoolean = object.UpdateCurrentExpandCollapse As Boolean
C#.NETbool Boolean = object.UpdateCurrentExpandCollapse;
VC++VARIANT_BOOL Boolean = object->UpdateCurrentExpandCollapse;
VARIANT_BOOL Boolean = object->GetUpdateCurrentExpandCollapse();
CHRESULT object->get_UpdateCurrentExpandCollapse(VARIANT_BOOL* Boolean);

Put

VB.NETobject.UpdateCurrentExpandCollapse = Boolean As Boolean
VBobject.UpdateCurrentExpandCollapse = Boolean As Boolean
C#.NETbool object.UpdateCurrentExpandCollapse = Boolean;
VC++VARIANT_BOOL object->UpdateCurrentExpandCollapse = Boolean;
void object->PutUpdateCurrentExpandCollapse(VARIANT_BOOL Boolean);
CHRESULT object->put_UpdateCurrentExpandCollapse(VARIANT_BOOL Boolean);

object

A SftTreeItems object.

Boolean

Defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.

BooleanDescription
TrueThe current item is updated when the expand/collapse button is clicked. The Items.Current property is updated and the ItemIndex argument of the ItemClick event indicates which item's expand/collapse button has been clicked.
FalseThe current item is not updated when the expand/collapse button is clicked. The ItemIndex argument of the ItemClick event indicates which item's expand/collapse button has been clicked.

Comments

The UpdateCurrentExpandCollapse property defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.

Examples

VB6

         ToolTipAlways   =   0
         ToolTipBackColor=   -1
         ToolTipForeColor=   -1
         ToolTipsUseEntireCell=   0
         TopIndex        =   0
         TreeLineColor   =   -2147483631
         TreeLineGrayedColor=   -2147483631
         TreeLineStyle   =   3
         UpdateCurrentExpandCollapse=   0
         OutlineStyle    =   1
         SelectOutlineBorderColor=   -1
         SelectInnerBorderColor=   -1
         SelectInnerFill1=   -1
         SelectInnerFill2=   -1
         SelectHotOutlineBorderColor=   -1
         SelectHotInnerBorderColor=   -1

See Also SftTreeItems Object | Object Hierarchy


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