difference between buttondownfcn and keypressfcn

6 Ansichten (letzte 30 Tage)
alex
alex am 10 Okt. 2012
I know that using the keypressfcn as a property in a figure works, but where do I set the buttondownfcn in case I have a couple of buttons?
I can't set it in the main figure becuase it won't be able to recognize which one.
so how should it be done?

Akzeptierte Antwort

Matt Fig
Matt Fig am 10 Okt. 2012
Bearbeitet: Matt Fig am 10 Okt. 2012
Buttondownfcn is for the mouse button.
docsearch('uicontrol properties')

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by