prevent selection in objects app matlab

How can avoid the selection of an app GUI object (button, image, etc.) by clicking in it?
---when clicking--> it is selected.
I need to prevent this kind of selection because if I chose an object the shortkeys does not work.
Thank you!

 Réponse acceptée

Josep Llobet
Josep Llobet le 7 Oct 2022
You just need to turn to make the figure. You just need to add, in the final of the button callback:
figure(app.UIFigure)

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by