mouse button

Mark Waddingham mark at livecode.com
Fri Jan 22 14:48:08 EST 2016


On 2016-01-22 19: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?

That sounds like a bug to me - button numbers should be consistent 
across platforms... Could you file a report in the Quality Center?

Thanks!

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list