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!

 Respuesta aceptada

Josep Llobet
Josep Llobet el 7 de Oct. de 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)

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Mzo. de 2022

Respondida:

el 7 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by