Drag and Drop

Ray Horsley ray at linkit.com
Fri May 10 12:17:11 EDT 2013


Well I haven't tried Linux but this behavior happens on both Mac and Windows.

And Paul, thanks for the card script idea.  I started out trying things in the card script but when I got the sporadic behavior I decided it was because a card is technically not a control.  Not sure about that.  In any event I'm sorry to report the script you've given me still isn't stopping the cursor from remaining a circle with a line through it without changing to the plus sign.  I'll continue to experiment.  Have you tried really slowly dragging a file onto a stack window from the desktop to see if it changes to the circle with a line through it even though you've got this in your card's script:

on dragEnter
    set the dragAction to "copy"
end dragEnter

On May 10, 2013, at 11:55 AM, Alejandro Tejada wrote:

> Hi Ray,
> 
> 
> Ray Horsley-2 wrote
>> [snip]
>> The new thing I've discovered is I can consistently break Livecode's
>> accepting the drop, 
>> evidenced by the cursor turning into a circle with a line through it
>> instead of a plus sign, 
>> if I drag extremely slowly right at the point where I stop dragging across
>> the desktop 
>> and start dragging over the stack window.  This happens even if I let the
>> button 
>> overlap off the stack window.  If I continue dragging around on top of the
>> stack 
>> to another button with the same script I do get the plus sign for a
>> cursor.  
>> Weird isn't it?
> 
> And... This happens in every platform?
> Windows? Mac? Linux?
> 
> Al
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664662.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list