DragTargetItem

[property icon] 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


>

DragTargetItem

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

See also

Button methods, properties and events. CheckBox methods, properties and events. Graph methods, properties and events. Grid methods, properties and events. KCMLEdit methods, properties and events. List Box methods, properties and events. Picture Button methods, properties and events. Radio methods, properties and events. Rich Edit methods, properties and events. Tree methods, properties and events.