mouseUp stacking from user double clicks

J. Landman Gay jacque at hyperactivesw.com
Sun Mar 26 17:24:22 EST 2006


Ben Bock wrote:
> My user app is a series of quizzes.  In troubleshooting, I found that
> if users "double click" a button (either from error or impatience)
> that both codes an answer and moves to the next card-item, the
> second, unnecessary click will transfer to the next card.  How can I
> stop this?

The easiest way is to put in a trap for "mouseDoubleUp". That way, a 
doubleclick does nothing:

   on mouseDoubleUp
   end mouseDoubleUp

This just blocks the message from getting through.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list