how i can known the active tab in a tabgroup component in the appdessigner tool?
37 次查看(过去 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?
0 个评论
采纳的回答
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
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
2022-6-13
He's right... app.nameTabGroup.Selectedtab gives an error, the correct syntax is: app.TabGroup.SelectedTab
更多回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!