difference between buttondownfcn and keypressfcn

6 vues (au cours des 30 derniers jours)
alex
alex le 10 Oct 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?

Réponse acceptée

Matt Fig
Matt Fig le 10 Oct 2012
Modifié(e) : Matt Fig le 10 Oct 2012
Buttondownfcn is for the mouse button.
docsearch('uicontrol properties')

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by