mouse button

John Dixon dixonja at hotmail.co.uk
Fri Jan 22 13:46:31 EST 2016


look harder... 

mouse([buttonNumber])
the mouse

from the dictionary...


> Subject: Re: mouse button
> To: use-livecode at lists.runrev.com
> From: richmondmathewson at gmail.com
> Date: Fri, 22 Jan 2016 20:37:04 +0200
> 
> On 22/01/16 20:01, Matt Maier wrote:
> > I used mouse() in code that I've only personally run on my Windows machine.
> > My friend ran the same code on Ubuntu and we found that mouse() is off by 1.
> >
> > So on Windows mouse(1,2,3) correspond to the left, middle, and right mouse
> > buttons. But on Ubuntu the same buttons are mouse(0,1,2).
> >
> > Is that how mouse() is supposed to work, or is that a bug?
> > _______________________________________________
> >
> 
> I'm having a problem as I can find no reference to "mouse()" in the 
> documentation,
> so I really cannot understand how that works.
> 
> Richmond.
> 
> _______________________________________________
> 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