ui.DragDrop.getSelectedMimeType

Get the previously selected MIME type.

Syntax

getSelectedMimeType()
  RETURNING result STRING

Usage

Before retrieving data from the drag & drop buffer with getBuffer(), first call the getSelectedMimeType() method to identify the data format that was previously selected by a selectMimeType() call.

The getSelectedMimeType() method is typically called in ON DROP to identity the format of the dropped object.