Repeatloop in mouseDown handler wont end

Michael Kristensen michael-kristensen at dsa-net.dk
Tue Oct 15 04:08:01 EDT 2002


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 




More information about the use-livecode mailing list