Drag and Drop Problem
Trevor DeVore
lists at mangomultimedia.com
Sat Mar 3 10:59:00 EST 2007
On Mar 2, 2007, at 5:54 AM, Dave wrote:
> I have the following "drag" handlers in the Script of a field. It
> all works - mostly. The problem is that sometimes the field gets
> left with a blue border. If I pick up a file in the Finder and move
> it onto the border turns blue (most of the time) if I then move it
> out of the field it goes back to normal (most of the time). However
> sometimes it just doesn't receive the dragEnter/dragLeave message.
> This happens running under the IDE and as a Standalone.
>
> Is this anything else I need to do in order to get this to work
> reliably? I am using an Intel Mac Pro, MacOS X 10.4.8 with god
> knows how much RAM and 1 Terabyte of Hard Disk Space! Lucky me! lol
Drag and drop messages in Revolution are not always balanced meaning
you won't always received a dragLeave even though you received a
dragEnter. In my testing this behavior seems worse when working with
grouped controls.
Also, events are not always received in the right order:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=3599>
Personally I have stopped providing visual feedback on objects for
drag/drop events until the engine behavior is fixed (Rev is aware of
it). It is too easy to break and end up with objects that are always
highlighted (or visual feedback that does not reflect the actual
operation that will be performed when the drop occurs).
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list