problem with drag-dropping a text string

J. Landman Gay jacque at hyperactivesw.com
Fri Apr 11 13:31:11 EDT 2008


Peter Brigham wrote:

> Could someone try setting the dragData["text"] to "finally got it to 
> work!" and give me a recipe?

I was able to do it with a single "dragStart" handler in the source 
field. No handlers in the target field were required.

on dragStart
  set the allowableDragActions to "copy"
  set the dragData["text"] to "got it to work!"
end dragStart

That's all it needs in my simple test, which is just a blank stack with 
two unlocked fields.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list