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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by