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!

 採用された回答

Josep Llobet
Josep Llobet 2022 年 10 月 7 日

0 投票

You just need to turn to make the figure. You just need to add, in the final of the button callback:
figure(app.UIFigure)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2022 年 3 月 23 日

回答済み:

2022 年 10 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by