On Sep 3, 2008, at 9:05 AM, Klaus Major wrote:

Hey Klaus,

 set the dragdata["private"] to "A private string"
 put the dragdata
 ## Nothing gets "put" into msg?
end dragstart

What does put the dragData["private"] show? If you don't specify a key then the dragData returns the dragData["text"]

Script of "d_target" (one of a lot of variations):
on dragdrop
 set the hilite of me to false
 ## Works, see dragenter

 if the dragdata = "private" then
   answer "Privat!"
 end if

To check for a particular type you need to check the keys of the dragData. So check if "private" is among the lines of the keys of the dragData.

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
_______________________________________________
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

Reply via email to