How to change focused Tab on AppDesigner?
48 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 5 de Dic. de 2019
Editada: MathWorks Support Team
el 9 de Ag. de 2022
How to change focused Tab on AppDesigner?
Respuesta aceptada
MathWorks Support Team
el 9 de Ag. de 2022
Editada: MathWorks Support Team
el 9 de Ag. de 2022
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Live Scripts and Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!