Repeatloop in mouseDown handler wont end

Ken Ray kray at sonsothunder.com
Tue Oct 15 10:06:00 EDT 2002


Michael,

There is a known issue with doing things this way in that there are
other/better ways of doing it... see the article on HyperActive Software's
web site for a run down on this and how to work it:

http://www.hyperactivesw.com/polling.html

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Michael Kristensen" <michael-kristensen at dsa-net.dk>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, October 15, 2002 4:01 AM
Subject: Repeatloop in mouseDown handler wont end


> Hi all
>
> There is a very annoying bug that show itself in both my own stacks and
> in Revolutions UI.
>
> Its in mouseDown handlers with a repeatloop like this:
>
> on mouseDown
>     --script
> repeat while the mouse is down
>     --script
> end repeat
> end mouseDown
>
>
> In appr. 1 out of 5 times the repeatloop wont end.
>
> It can also be seen in the Object Property Palette where
> it will happen in one of the four move-buttons.
>
> Nothing can stop the repeatloop except  to kill Revolution.
>
>
>
> Kind regards
> Michael Kristensen
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the Use-livecode mailing list