Excellent!  That did it.
Thank you very much, Ken!

-James

On Feb 19, 2004, at 9:50 PM, Ken Ray wrote:

So how about this:

on dragEnter
  set the acceptDrop to true
end dragEnter

on dragDrop
  set the droppedFiles of me to the dragData
  send "NotifyUser" to me in 20 milliseconds
end dragDrop

on NotifyUser
  answer "You dropped these items on me:" & cr & cr & (the droppedFiles
of me)
end NotifyUser


That should work...


Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

Thanks for the feedback, Ken.  Maybe this would help explain
my situation.
 Here's a distilled version of my problem:

--begin--
--add this code to the script of a scrolling list field--

on dragEnter
  set the acceptDrop to true
end dragEnter

on dragDrop
  put the dragData into myFiles
  answer "You dropped these items on me:" & cr & cr & myFiles
end dragDrop

--end--

I'm running MacOSX (10.3.2).  If you drag one or more files
to the field
and wait 20 secs, you'll see ghosts of the dragged files zoom back to
their source.  At that point I cannot click on the OK of the answer
dialog.  Sometimes I can press return to answer "OK", but
sometimes Rev is
completely frozen and must be forced to quit.  The feedback
the user's
will see in the "real" answer dialog will be showing them
files that could
not be processed because they have invalid file names.  There
is a very
good chance the user will take longer than 20 secs to read this
information.

Thanks in advance...James






"Ken Ray" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/19/04 05:25 PM Please respond to kray; Please respond to How to use Revolution

        To:     "'How to use Revolution'"
<[EMAIL PROTECTED]>
        cc:
        Subject:        RE: Drag-n-drop Time Out & Rev Freeze


Well, you could accept the file names from the drop and store them in a variable (don't put them in a field), and *then* bring up your answer dialogs. If everything's OK, you use the data in the variable; if not, you ditch it.

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, February 19, 2004 3:56 PM
To: How to use Revolution
Subject: Drag-n-drop Time Out & Rev Freeze


Here's what happens:


1. I drag some files from the OS (Mac OS X) to a
drag-n-drop enabled
field. 2.  I have answer dialogs during the Drag-n-drop handler to
give feedback
to the user.
3.  If the answer dialogs are not answered within 20 seconds, the
Drag-n-Drop times out and freezes Revolution.

Has anyone encountered this problem and come up with a fix?

Thanks in advance....James
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-> revolution



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-> revolution

_______________________________________________

use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-> revolution



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to