ui.DragDrop.setBuffer

Set the text data of the dragged object.

Syntax

setBuffer(
   data STRING )
  1. data is a string expression containing drag & drop data.

Usage

Use the setBuffer() method to provide the text data of objects dragged from the program to an external application.

The setBuffer() method is typically used in an ON DRAG_START block in conjunction with setMimeType().

By default, the dialog will serialize the data of the selected rows as a tab-separated list of values.

The text/plain MIME type is the default.