DragItem.PrivateRawData

From Xojo Documentation

Property (As String )
aDragItem.PrivateRawData(MacType as String) = newStringValue
or
StringValue = aDragItem.PrivateRawData(MacType as String)

Supported for all project types and targets.

Contains the raw data being dragged.

Notes

The parameter is the file type being dragged. MacType is a four-character resource type or programmer-defined four-character code. This data cannot be dragged to another application.

Sample Code

This code checks for raw data of any type and does the drop.

If obj.RawDataAvailable("????") Then
Me.Text = obj.PrivateRawData("????")
End If