[Gambas-user] Left and Right Click

Fabien Bodard abidoo.too at ...11...
Thu Mar 4 22:06:25 CET 2004


Le Jeudi 4 Mars 2004 20:40, Pozzo a écrit :
> Hi Benoit,
> I was wondering if it was possible to cacht when the user click on an
> Image and on a buttom with the right buttom of the mouse I think this
> possibility will be really usefull.
> thanks
>
> Maurizio
>
;) it exist...

public sub pic_MouseUp()

  if mouse.button = mouse.right then
    'here is your code
  endif

end

Gambas is really powerfull and a real object language



>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list