How to change focused Tab on AppDesigner?

7 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2019 年 12 月 5 日
編集済み: MathWorks Support Team 2022 年 8 月 9 日
How to change focused Tab on AppDesigner?

採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 8 月 9 日
編集済み: MathWorks Support Team 2022 年 8 月 9 日
For instance, if there are two Tabs on TabGroup, you can capture the Handle for the second Tab by following.
>> h = app.TabGroup.Children(2);
You can then directly assign it to SelectedTab property.\n\n
>> app.TabGroup.SelectedTab = h;
An example app (saved in R2021a) which implements this feature without explicitly specifying the next tab, can be found in the attachments.

その他の回答 (0 件)

カテゴリ

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

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by