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

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?

Answers (1)

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 Comment

Many thanks for the hint, Nicolas!
Do you have an example code for this purposes?

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 16 Sep 2019

Commented:

on 17 Sep 2019

Community Treasure Hunt

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

Start Hunting!