Help with dragdata["private"] needed
Trevor DeVore
lists at mangomultimedia.com
Wed Sep 3 09:42:04 EDT 2008
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
More information about the use-livecode
mailing list