Drag and Drop

J. Landman Gay jacque at hyperactivesw.com
Thu May 9 21:14:15 EDT 2013


On 5/9/13 7:03 PM, Ray Horsley wrote:

> At the end of the day I'm wondering if this should be reported as a
> bug.  It seems like something is getting hooked in memory.  It's
> weird that I can drag a file onto my Livecode stack (which is one
> large image control with the drag handlers in it) and get nothing.
> Then, simply continuing to drag off the stack window and right back
> on it fixes it.

I wonder if it is because you are dropping onto an image. Images don't 
register mouse events unless you click (or presumably release) on an 
opaque pixel. It may be that sometimes you're dropping onto a 
transparent area and then nothing will happen.

You could test the theory by putting a big button over the card and 
seeing if the drop is reliable there, or by always consciously dropping 
exactly on an opaque area.

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




More information about the use-livecode mailing list