DragSourceItem
DragSourceItem
Identifies the source control component of a drag operation
Read-only Runtime-only OBJECT reference property
Applies to: Button , CheckBox , Graph , Grid , KCMLEdit , List Box , Picture Button , Radio , Rich Edit , Tree
Introduced in KCML version 6.60
This property returns the source component of the source control of a drag operation as an object. This property may be NULL if the control has no separate components. To determine the source control of a drag use the DragSourceControl property.
Example:
DEFEVENT Form1.TreeControl1.Drop() OBJECT SourceControl = ..DragSourceControl OBJECT SourceItem = ..DragSourceItem IF (OBJECT SourceItem <> NULL) REM Source control has components ELSE REM simple source control with no components END IF END EVENT