PowerBuilder only Occurs when the user is dragging an object and leaves the control.
PowerBuilder event information Event ID: pbm_dwndragleave
Argument |
Description |
---|---|
source |
DragObject by value. A reference to the control being dragged. |
There are no special outcomes for this event. The only code is:
0 Continue processing
Obsolete methods in PowerBuilder You no longer need to call the DraggedObject method in a drag event. Use the source argument instead.
This example checks the name of the control being dragged and if it is dw_1, it cancels the drag operation:
IF ClassName(source) = "dw_1" THEN dw_1.Drag(Cancel!) END If