OLECompleteDrag Event
Description
Occurs when a source component is dropped onto a target component, informing the source component that a drag action was either performed or canceled.
Syntax
Public Event OLECompleteDrag( _
ByRef Effect As Long _
)
Parameters
- Effect: A long integer set by the target component identifying the action that has been performed (if any), thus allowing the source to take appropriate action if the component was moved (such as the source deleting the data).
Remarks
The OLECompleteDrag event is the final event to be called in an OLE drag/drop operation. This event 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. Based on this, the source can then determine the appropriate action it needs to take.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.