HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

DragImage Property, SftTree Object

Defines whether a semi-transparent image is used to represent the data being dragged.

Syntax

Get

VB.NETBoolean = object.DragImage As Boolean
VBBoolean = object.DragImage As Boolean
C#.NETbool Boolean = object.DragImage;
VC++VARIANT_BOOL Boolean = object->DragImage;
VARIANT_BOOL Boolean = object->GetDragImage();
CHRESULT object->get_DragImage(VARIANT_BOOL* Boolean);

Put

VB.NETobject.DragImage = Boolean As Boolean
VBobject.DragImage = Boolean As Boolean
C#.NETbool object.DragImage = Boolean;
VC++VARIANT_BOOL object->DragImage = Boolean;
void object->PutDragImage(VARIANT_BOOL Boolean);
CHRESULT object->put_DragImage(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether a semi-transparent image is used to represent the data being dragged.

BooleanDescription
TrueA semi-transparent image is used to represent the data being dragged.
FalseA simple cursor is used to represent the data being dragged.

Comments

The DragImage property defines whether a semi-transparent image is used to represent the data being dragged.

The DragImage property applies to OLE drag & drop operations only. Note that not all applications used as targets of a drag & drop operation will render the semi-transparent image in their client area.

The DragImage property only affects OLE drag & drop operation initiated from the defining control. When the same control is used as a drop target, a semi-transparent image is always used if the drag source provides such an image.

Examples

VB6

      BorderStyle     =   0
      ButtonStyle     =   2
      CellEventHandling=   0
      CellEditStyle   =   0
      CellEditLimit   =   0
      ColumnCount     =   2
      CopyItemDataString=   1
      CustomCode      =   0
      DragImage       =   -842150451
      DragMethod      =   1
      DragType        =   3
      Enabled         =   1
      HandleReturn    =   -842150451
      MousePointer    =   0
      LeftButtonOnly  =   1
      LeftItemClickOnly=   1

See Also SftTree Object | Object Hierarchy


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