how i can known the active tab in a tabgroup component in the appdessigner tool?

38 ビュー (過去 30 日間)
is posible known the active tab in a tabgroup component?, i try as app.nameTabGroup.Selectedtab but is not work :
For example i need know if the volume tab is active, could you help me please?

採用された回答

Sean de Wolski
Sean de Wolski 2020 年 4 月 22 日
What do you mean this "doesn't work"?
app.nameTabGroup.Selectedtab
Is the right way to do this so somewhere your logic or code probably has a bug in it. Put a break point in, and see what it's telling you.
  3 件のコメント
Sean de Wolski
Sean de Wolski 2020 年 4 月 23 日
Hi Harold,
Yes that would be how to get the Title! If you wanted the tab value, you could compare it to the tab list.
Louis Bodnar
Louis Bodnar 2022 年 6 月 13 日
He's right... app.nameTabGroup.Selectedtab gives an error, the correct syntax is: app.TabGroup.SelectedTab

サインインしてコメントする。

その他の回答 (1 件)

aliko dakil
aliko dakil 2020 年 4 月 22 日
do you know how to change the color to 'pure' white if the tab is not selected. IT's showing white but the actual color is somewhat disabled.
  1 件のコメント
Harold Alexander Medina Santacruz
Harold Alexander Medina Santacruz 2020 年 4 月 22 日
yes, i know how to change the tab color but ¿ is not exist a direct form to consult the tab activity?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLarge Files and Big Data についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by