Drag.Format (gb.qt4)
Static Property Read Format As String
Returns the format of the dropped data, as a MIME type.
Warning
Many drag operations like a file drop may also contain other formats and Drag.Format can be an unexpected type.
For example on my Mint/MATE system a file drop reports the following...
Drag Formats: ["x-special/mate-icon-list", "text/uri-list", "text/plain;charset=utf-8", "text/plain"]
Drag.Format: "x-special/mate-icon-list"
So it is better to use Drag.Formats.Exist() on what you are looking for.
eg..
' If Drag.Format = "text/uri-list" Then ' Do not use this method
If Drag.Formats.Exist("text/uri-list") Then
' do something
Endif