How to link an App-Designer push button to a keyboard key?

2 Ansichten (letzte 30 Tage)
Leon
Leon am 16 Sep. 2019
Kommentiert: Leon am 17 Sep. 2019
I create two push buttons for my program, PREVIOUS and NEXT, how do I linke them to the Left and right Arrow key on my keyboard?

Antworten (1)

Nicolas B.
Nicolas B. am 17 Sep. 2019
Hey,
you can implement the callback UIFigureKeyRelease on your UIFigure object. Then, you juste have to implement the code to get left or right.
Regards
  1 Kommentar
Leon
Leon am 17 Sep. 2019
Many thanks for the hint, Nicolas!
Do you have an example code for this purposes?

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by