On Monday, Sept 6 1999, Gregory Lypny wrote:

> Hi List Members,
> 
>      I'm just starting to experiment with MetaCard, and I'm wondering how
> I can improve the response of some buttons I've created.
>
>      I've created a simple stack with navigation buttons that take the
> user to the next or previous card.  My problem is that the buttons
> respond only to slow, deliberate clicks, and not to faster clicks (which
> are not double-clicks) that would allow the user to "flip" through the
> cards quickly.  The buttons contain the common script (e.g.):
>
>      on mouseUp
>           go next cd of this stack
>      end mouseUp
>
>      At the stack level, I have a script that causes the number of the
> card to be displayed in a background field.
>
>      on openCard
>           put "Card no. " & the number of this card &
>           " of  " & the number of cds of this stack into fld "card no."
>      end openCard
>
>      If the user clicks a navigation button two times in near succession,
> the second click appears to be ignored on my iMac.  What am I doing wrong?

If you click quickly you will get a "mouseDoubleUp" message instead of a
"mouseUp" message.  So to solve this problem, add the following handler:

on mouseDoubleUp
  mouseUp
end mouseDoubleUp

Regards,

Kevin

>      Regards,
>
>      Greg
>
>
>
> _________________________________________
> Gregory Lypny
> Associate Professor of Finance
> Concordia University
>
> _________________________________________
> "Take chances, make mistakes!"
>        - Ms Frizzle, The Magic School Bus

Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.

Reply via email to