|
VLButtonBar Reference
|
||||||||||||||||||
Applies To
|
||||||||||||||||||
|
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 Private Sub object_OLECompleteDrag([effect As Long])
The OLECompleteDrag event syntax has these parts:
Settings The settings for effect are:
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. For example, if the object was moved into the target (vbDropEffectMove), the source needs to delete the object from itself after the move. If OLEDragMode is set to Automatic, then Visual Basic handles the default behavior. The event still occurs, however, allowing the user to add to or change the behavior. |
||||||||||||||||||
|
©2001-2004 Viklele Associates. All rights reserved. For new products and software updates check Viklele Associates. |