Drag and Drop Problem
JimAultWins at yahoo.com
Sat Mar 3 10:26:56 CST 2007
I think Chipp did some work about 18 months ago with the missing message
interaction. Can't remember the details, but it involved button user
interface and the mouseLeave. Perhaps someone will remember and add to this
On 3/3/07 7:59 AM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:
> 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:
> 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).
More information about the use-livecode