The DragDrop class / ui.DragDrop methods |
Identify the type of operation on drop.
getOperation() RETURNING result STRING
The getOperation() method returns the type of the current drag & drop operation ("copy", "move", or "none").
According to the value returned by this method, the program can make the appropriate changes in the data model. For example, after a row has been dropped into another list, the source list can remove the original row if the operation was a "move", but keeps the original row if the operation was a "copy".
The getOperation() method is typically called in the ON DRAG_FINISHED block.