Enables drag and drop.

Usage

Set_Property(OLECtrlEntID, "OLE.DragEnabled", Boolean)

Values

[True | False]

Default: False

Remarks

The DragEnabled property enables or disables drag and drop. To be more specific, setting this property to 1 establishes this SRP Tree Control as a drag source. Once enabled, users can visually drag tree items to any other valid drop target.

There are other properties, methods, and events necessary to implement a complete drag and drop solution. See Drag and Drop for more details.

Example

// Enable this tree control as a drag and drop source 
Set_Property(@Window:".OLE_TREE", "OLE.DragEnabled", 1)

See Also

DropSources

  • No labels