DragTargetItem
DragTargetItem
Identifies the target 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 target component of the target control of a drag operation as an object. This property may be NULL if the control has no separate components.
Example:
DEFEVENT Form1.TreeControl1.Drop() // REM A tree so we need to know which node was dragged to OBJECT TargetItem = ..DragTargetItem END EVENT