HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

AutoExpandDragDrop Property, SftTreeItems Object

Defines whether items are automatically expanded during an OLE drag & drop operation.

Syntax

Get

VB.NETBoolean = object.AutoExpandDragDrop As Boolean
VBBoolean = object.AutoExpandDragDrop As Boolean
C#.NETbool Boolean = object.AutoExpandDragDrop;
VC++VARIANT_BOOL Boolean = object->AutoExpandDragDrop;
VARIANT_BOOL Boolean = object->GetAutoExpandDragDrop();
CHRESULT object->get_AutoExpandDragDrop(VARIANT_BOOL* Boolean);

Put

VB.NETobject.AutoExpandDragDrop = Boolean As Boolean
VBobject.AutoExpandDragDrop = Boolean As Boolean
C#.NETbool object.AutoExpandDragDrop = Boolean;
VC++VARIANT_BOOL object->AutoExpandDragDrop = Boolean;
void object->PutAutoExpandDragDrop(VARIANT_BOOL Boolean);
CHRESULT object->put_AutoExpandDragDrop(VARIANT_BOOL Boolean);

object

A SftTreeItems object.

Boolean

Defines whether items are automatically expanded during an OLE drag & drop operation.

BooleanDescription
TrueAn expandable item is automatically expanded during a drag & drop operation, if the mouse cursor hovers over the item for an extended period of time.
FalseItems are not automatically expanded.

Comments

The AutoExpandDragDrop property defines whether items are automatically expanded during an OLE drag & drop operation.

During a drag & drop operation, if the mouse cursor hovers over an expandable item for an extended period of time, the item can automatically be expanded based on the AutoExpandDragDrop property setting. This applies to drag & drop operations started by a SftTree/OCX control or any other data source. Once the drag & drop operation completes, the affected items remain expanded.

The AutoExpandDragDropInterval property defines the delay (in milliseconds) after which items are automatically expanded during an OLE drag & drop operation.

The AutoExpandHover property defines whether items are automatically expanded when the mouse hovers over an item (outside of a drag & drop operation).

Examples

VB6

         GrayedColor     =   -2147483631
         HilightColor    =   -2147483628
         Multiline       =   1
         ShadowColor     =   -2147483632
         Reorderable     =   1
         Resizable       =   1
      EndProperty
      BeginProperty Items {9EBAA93C-293D-44FA-9989-08F078763A1F} 
         AutoExpandDragDrop=   1
         AutoExpandHover =   0
         BackColor       =   -2147483643
         BackColorOdd    =   -2147483643
         CalcLimit       =   0
         CalcVisibleOnly =   0
         Cell3D          =   0
         CharSearchColumn=   -1

See Also SftTreeItems Object | Object Hierarchy


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