The xbeP_DragLeave event is generated only if the value .T. (true) is assigned to the object's :dropZone instance variable.
Event XbpWindow():dragLeave Foundation
Item has been moved outside a drop zone.
:dragLeave := {| uNIL1, uNIL1, self | ... } --> self
:dragLeave( NIL, NIL ) --> self
xbeP_DragLeave (1048652)
This method returns the object executing the method (self).
The xbeP_DragLeave event is generated if an item is dragged outside of a drop zone. xbeP_DragLeave implicitly indicates that no drop operation will take place in the drop zone. Consequently, an Xbase++ application should free all data cached for the drag-and-drop operation.
The xbeP_DragLeave event is sent synchronously via the :handleEvent() method of an XbpWindow object. This means that xbeP_DragLeave will not be retrieved by the AppEvent() function. As it is generated while the user manipulates an item, we strongly discourage to perform lengthy operations while processing the event.
An example that illustrates how to accept items being dragged can be found under :dropZone.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.