difference between buttondownfcn and keypressfcn

6 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Matt Fig
Matt Fig il 10 Ott 2012
Modificato: Matt Fig il 10 Ott 2012
Buttondownfcn is for the mouse button.
docsearch('uicontrol properties')

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by