Hi Jaqueline,
Chipp Walters wrote:
Can anyone verify this simple but strange bug with dragDrop and
WinXP? Thanks!
put in msg box:
go url "http://www.gadgetplugins.com/chippstuff/DragDropBug.rev"
Here's the problem as presented in the above stack:
Create a stack and add a field. Set the script of the field to:
on dragEnter
set the acceptDrop to true
end dragEnter
on dragDrop
put the dragData["files"] into me
end dragDrop
Now, dragdrop some files/folders and everything works fine. But try
dragDropping 'My Documents' folder and it doesn't work. Any ideas?
I didn't test on Windows, but on a Mac it just puts the folder path
into the field. This seems correct to me, since folders aren't
files. I'd test to see if there is a folder with that path, and if
so, extend the script to get the files and put them into the field.
maybe the syntax shoud be extended to also support:
the dragData["folders"]
That would come very handy.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution