App Designer: control focus on pressing Tab

9 ビュー (過去 30 日間)
Anastasia Eltsova
Anastasia Eltsova 2021 年 5 月 7 日
コメント済み: Cris LaPierre 2022 年 4 月 5 日
Can I somehow control in R2020a which form is going to be in focus when I press tab on keyboard?
Now it looks like:

採用された回答

Cris LaPierre
Cris LaPierre 2021 年 5 月 7 日
編集済み: Cris LaPierre 2021 年 5 月 7 日
Tab order appears to be linked to the order of your components in the component browser. See this answer for a way to change the order.

その他の回答 (1 件)

Adam Danz
Adam Danz 2022 年 4 月 5 日
Starting in MATLAB R2022a, AppDesigner contains a tool to assist with setting tab order there's also a new focus(c) function to programmatically set focus to a ui component c.
More info

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by