GetDragDataText

GetDragDataText

%SetDragDataText, %GetDragDataText functions


Function

Function %SetDragDataText sets a text as a source of data for Drag&Drop.

Function %GetDragDataText returns a text string that is transferred during Drag&Drop. If the function %IsDragData(0, _CF_TEXT) does not return @TRUE, the return value of this function is undefined.

Declaration

%SetDragDataText( INT in refId, TEXT in text )

 

TEXT %GetDragDataText( INT in refId )

Parameters

refId

It always requires 0.

text

A text, which represents a source of data.

Return value

TEXT - returns the text value that is transferred during Drag&Drop.