difference between buttondownfcn and keypressfcn

6 ビュー (過去 30 日間)
alex
alex 2012 年 10 月 10 日
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?

採用された回答

Matt Fig
Matt Fig 2012 年 10 月 10 日
編集済み: Matt Fig 2012 年 10 月 10 日
Buttondownfcn is for the mouse button.
docsearch('uicontrol properties')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by