company logo

ControlContext :: dropText - Get text from drag and drop object

The property provides the text that is going to be dropped. Usually, the text only contains the text displayed in the list. In order to access the instance associated with the dragged list entry, dragProperty() might be used.

Return value:  Text string ( odaba::String & )

Implementation details

odaba::String ControlContext  :: dropText (  )

The function can be called in the doBeforeDrop() and in the doAfterDrag() handler to get the text that is going to be dropped.