I thank you in advance.........bye, lestroso
How to drag and drop files from a text field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
How to drag and drop files from a text field
Hy to everybody, my problem is i don't know the code to to drag and drop files from a text field, or better from a list of directory files i want to pick one and then drag from my app to desktop. Can you help me?????
I thank you in advance.........bye, lestroso
I thank you in advance.........bye, lestroso
Re: How to drag and drop files from a text field
Not exactly sure what you need.
If I hilite some text in a normal (not a list) field, I can drag it to the desktop and it appears there as a clipping (Mac OS). Not sure if this is useful to you, but you need no code. If you have a list field, you cannot drag and drop at all (I think).
If I hilite some text in a normal (not a list) field, I can drag it to the desktop and it appears there as a clipping (Mac OS). Not sure if this is useful to you, but you need no code. If you have a list field, you cannot drag and drop at all (I think).
Re: How to drag and drop files from a text field
Hi lestroso,
this will work with a list field with pathnames (e.g. "/Users/klaus/Desktop/Bilder Net/cd.gif" in my test) in it.
Script of list field:
You get the picture 
Best
Klaus
this will work with a list field with pathnames (e.g. "/Users/klaus/Desktop/Bilder Net/cd.gif" in my test) in it.
Script of list field:
Code: Select all
on dragstart
set the dragdata["files"] to (the selectedtext of me)
end dragstartBest
Klaus
Re: How to drag and drop files from a text field
Thank you very much KLAUS!!!!! You have guess my idea, it works very well ,i thank you so much again, i'm sorry if i answer just now but i have had to work.Now i'm making a turbosearch......
cheeers
lestroso
http://www.fasasoftware.com
http://www.myspace.com/lestroso
cheeers
http://www.fasasoftware.com
http://www.myspace.com/lestroso
