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 pressed to trigger the message. Because UNIX
systems commonly have three buttons all three are supported, numbered 1
through 3 from left to right:
on mouseDown pButton
if pButton = 3 then DoRightClick
else doLeftClick
end mouseDown
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution