[Gambas-user] Convert path of drop file
Benoît Minisini
gambas at ...1...
Fri Nov 26 14:32:16 CET 2010
> Hi,
>
> I try to get input file by drag and drop file from Nautilus onto my form.
> But the path that I got is HTML format, so I have trouble with the path
> including space or unicode characters.
> How to convert this path to normal path so I can work with OPEN statement.
When receiving a drop, you may receive the data in different mime types, so
you must check all the mime-types you get first, otherwise you will get the
default, which may not be what you need.
Look at Drag.Formats and Drag.Paste().
Regards,
--
Benoît Minisini
More information about the User
mailing list