At 10:10 AM -0800 3/3/02, Keelan Lightfoot wrote:
>There have been suggestions of using:
>
>on mousedown
>    global amDragging
>    put true into amDragging
>end mousedown
>
>on mousemove
>    global amDragging
>    if amDragging then set the loc of me to the mouseloc
>end mousemove
>
>on mouseup
>    global amDragging
>    put false into amDragging
>end mouseup
>
>The problem is that Revolution misses mouseup some times, and the thing
>sticks to the cursor.

That's why in my response to your question I included the mouseRelease message, which 
is delivered when the mouse button is released and the pointer is _not_ in the control 
that received the mouseDown:

At 12:57 AM -0800 3/3/02, Geoff Canyon wrote:
>on mouseUp
>    stopDragging
>end mouseUp
>
>on mouseRelease
>    stopDragging
>end mouseRelease
>
>on stopDragging
>    global gDragging
>    put false into gDragging
>end stopDragging


regards,

Geoff
_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to