ButtondownFcn, right or left mouse button?
ButtondownFcn, right or left mouse button?
(OP)
Hi!
How do I know if it is the right or the left button that is pressed in my axis?
Thanx!
/Marcus
How do I know if it is the right or the left button that is pressed in my axis?
Thanx!
/Marcus





RE: ButtondownFcn, right or left mouse button?
muoseside=get(gcf,'SelectionType');
You will get 'normal' for left click and 'alt' for right (or mid) click.
Joe
BSTeX- Equation viewer for Matlab
http://www.geocities.com/bstex2001