DragDrop Event


PLBCMP GUI Only

square.png Objects

 

The DragDrop event occurs when a drag-and-drop operation is in progress and the mouse button is released over an object with a defined DropId.

Note the following:

  1. The DragDrop event is referenced using an event value of seven (7). The equated label in PLBEQU.INC for this event is $DRAGDROP.

  2. The DragDrop event is posted for the object being dragged and contains the DROPID of the object that was dropped on. The program may then perform the requested operation based on the DropId value.

  3. The Event Result contains the value of the object on which the drop occurred.

  4. The Event Modifier contains an eight (8) if the left mouse was used or a sixteen (16) if the right mouse was used.

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference DoubleClick Event DragOver Event