Message order of mouseUp and mouseDoubleUp

Mike Bonner bonnmike at gmail.com
Sun Jun 3 23:08:41 EDT 2012


Check this thread.
http://forums.runrev.com/viewtopic.php?f=7&t=8969&p=43101&hilit=mouseup+mousedoubleup#p43101


Specifically this code:

on mouseUp
   wait 20
   if the mouseClick then
      beep 2
--doubleclickstuff
   else
      beep 1
--singleclickstuff
   end if
end mouseUp


On Sun, Jun 3, 2012 at 8:40 PM, Bill Vlahos <bvlahos at mac.com> wrote:

> I have a button that has handlers for mouseUp and mouseDoubleUp. If the
> user double clicks the button the mouseUp always gets handled before the
> mouseDoubleUp.
>
> How can I prevent that? If the user double clicks I only want the
> mouseDoubleUp message to be sent or at least be sent before the mouseUp.
>
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important
> life information with you, accessible, and secure.
> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list