R click vs L Click

jcwall at jaguar1.usouthal.edu jcwall at jaguar1.usouthal.edu
Tue Dec 18 15:48:05 EST 2007


Devin:

Many thanks for the tip.  I did actually try the documentation but got hung up on mouseButtonNumber, which is what I thought I would need.  As I have read so many times on this list, the answer is usually in the documentation, if you know where to look.

Jim

-------------------------------------
James C. Wall, PhD
Professor
Department of Physical Therapy
University of South Alabama
1504 Springhill Avenue, Room 1214
Mobile AL 36604
Phone:  (251) 434 3575
  Fax:  (251) 434 3822

----- Original Message -----
From: Devin Asay <devin_asay at byu.edu>
Date: Tuesday, December 18, 2007 1:15 pm
Subject: Re: R click vs L Click
To: How to use Revolution <use-revolution at 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 is left button, 2  
> 
> is the middle button and 3 is right button. See the dictionary  
> entries for the various mouse click messages for more information. It  
> 
> works on all platforms that support > 1 mouse button, which is pretty  
> 
> much all of them now.
> 
> HTH
> 
> Devin
> 
> 
> On Dec 18, 2007, at 11:57 AM, jcwall at jaguar1.usouthal.edu 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?
> >
> > Jim
> >
> > -------------------------------------
> > James C. Wall, PhD
> > Professor
> > Department of Physical Therapy
> > University of South Alabama
> > 1504 Springhill Avenue, Room 1214
> > Mobile AL 36604
> > Phone:  (251) 434 3575
> >   Fax:  (251) 434 3822
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your  
> > subscription preferences:
> > 



More information about the Use-livecode mailing list