Default drag & drop operation

DISPLAY ARRAY dialogs implement a default drag operation.

The DISPLAY ARRAY dialog provides a default drag operation, that copies all selected rows to the drag & drop buffer, as a tab-separated list of values.

The user code equivalent to the default drag & drop operation would look like this:

DEFINE dnd ui.DragDrop 
...
DISPLAY ARRAY arr TO sr.* ...
...
  ON DRAG_START(dnd)
    CALL dnd.setOperation("copy")
    CALL dnd.setMimeType("text/plain")
    CALL dnd.setBuffer(DIALOG.selectionToString("sr"))
...
END DISPLAY