DragSourceItem

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


>

DragSourceItem

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

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.