HeaderPane
Main
Hide
Share Link
Print

OLECompleteDrag Event, SftDate Object

Source object is notified that the OLE drag & drop operation is ending.

Syntax

C#void object_OLECompleteDrag(object sender, AxSftDateLib20._ISftDateEvents_OLECompleteDragEvent e);
VB.NETPrivate Sub object_OLECompleteDrag(ByVal sender As Object, ByVal e As AxSftDateLib20._ISftDateEvents_OLECompleteDragEvent) Handles object.OLECompleteDrag
C++void OnOLECompleteDragobject(long* Effect);
CHRESULT OnOLECompleteDragobject(long* Effect);

object

A SftDate object.

Effect

A value set by the target object identifying the action that has been performed, thus allowing the source to take appropriate action if the data was moved (such as the source deleting the data).

EffectValueDescription
vbDropEffectNone0The drop target cannot accept the data.
vbDropEffectCopy1The drop results in a copy of the data from the source to the target. The original data is unaltered by the drag operation.
vbDropEffectMove2The drop results in the data being moved from the drag source to the drop target. The drag source should remove the data from itself after the move.

Note: The constants vbDropEffectNone, etc. are not predefined and have to be defined by the application.

Comments

The OLECompleteDrag event occurs when the source object is notified that the OLE drag & drop operation is ending. p The OLECompleteDrag event is the final event of an OLE drag & drop operation. It informs the source component of the action that was performed when the object was dropped onto the target component. The target sets this value through the Effect parameter of the OLEDragDrop event.

See Also SftDate Object | Object Hierarchy


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.