R click vs L Click

2007-12-18 Thread jcwall
I have been trying to see if I can distinguish which mouse button was used to click on a button but without success. Is this possible and if so is it cross platform? Jim - James C. Wall, PhD Professor Department of Physical Therapy University of South

Re: R click vs L Click

2007-12-18 Thread Richard Gaskin
jcwall wrote: I have been trying to see if I can distinguish which mouse button was used to click on a button but without success. Is this possible and if so is it cross platform? Yes and yes. The mouseDown and mouseUp messages are sent with a parameter which tells you which button was

Re: R click vs L Click

2007-12-18 Thread Malte Brill
Hi, try passing a parameter with mouseUp / mouseDown and the doubles: on mouseUp pBut if pBut=1 then answer Left click if pBut=3 then answer Right click if pBut=2 then answer Middle click end mouseUp Hope that helps, Malte ___ use-revolution mailing

Re: R click vs L Click

2007-12-18 Thread jcwall
Phone: (251) 434 3575 Fax: (251) 434 3822 - Original Message - From: Malte Brill [EMAIL PROTECTED] Date: Tuesday, December 18, 2007 1:03 pm Subject: Re: R click vs L Click To: use-revolution@lists.runrev.com Hi, try passing a parameter with mouseUp / mouseDown and the doubles

Re: R click vs L Click

2007-12-18 Thread Devin Asay
Jim, That information gets sent as a paramter with the mouseUp and mouseDown messages. So if you do: on mouseUp pBtnNum -- end mouseUp The mouse button will be in the pBtnNum variable. 1 is left button, 2 is the middle button and 3 is right button. See the dictionary entries for the

Re: R click vs L Click

2007-12-18 Thread jcwall
Subject: Re: R click vs L Click To: How to use Revolution use-revolution@lists.runrev.com Jim, That information gets sent as a paramter with the mouseUp and mouseDown messages. So if you do: on mouseUp pBtnNum -- end mouseUp The mouse button will be in the pBtnNum variable. 1