Re: why does GUIDE ButtonDownFcn require mouse double-click?
- From: "Yair Altman" <altmanyDEL@xxxxxxxxxxxxxxx>
- Date: Mon, 23 Jul 2007 16:52:45 +0000 (UTC)
"Kathleen " <quisquiliae2@xxxxxxxxxxx> wrote in message <f82hnb$hj8$1@xxxxxxxxxxxxxxxxxx>...
Hi! I'm designing a GUI, and have defined my ButtonDownFcn for my axes. Theoretically, this function is supposed to be called whenever a (single) mouse click occurs within the axes space. However, my GUI requires a mouse double-click to activate the function (with only a single click, a crosshairs appears, centered at the mouse location).
Is this problem occurring due to some programming error of mine, or is it just a bug in the Matlab software? Is there any way that I can activate my ButtonDownFcn with only a single mouse click?
A single click is enough. The cross-hairs are not standard behavior. The conclusion is that somewhere in your code there's another function that sets the button down callback to use crosshairs, and only then your second callback takes control, upon the second click.
Yair Altman
http://www.ymasoftware.com
.
- Follow-Ups:
- Re: why does GUIDE ButtonDownFcn require mouse double-click?
- From: Kathleen
- Re: why does GUIDE ButtonDownFcn require mouse double-click?
- References:
- why does GUIDE ButtonDownFcn require mouse double-click?
- From: Kathleen
- why does GUIDE ButtonDownFcn require mouse double-click?
- Prev by Date: Herbal Smoke Shop
- Next by Date: Need sparse coding shrinkage code
- Previous by thread: why does GUIDE ButtonDownFcn require mouse double-click?
- Next by thread: Re: why does GUIDE ButtonDownFcn require mouse double-click?
- Index(es):