Why is TabGroup.SelectedTab.Title giving me the wrong title?
Afficher commentaires plus anciens
I am simulating a processing system with groups of equipment broken up into different 'workcenters', where each workcenter is allowed a different operating schedule. In an app, built in app designer, each workcenter's equipment are displayed in a table, and each equipment table is displayed on a different tab of a single tab group.
If a user chooses to add equipment to the system, it is essential that I know what workcenter to add it to.
Problem: I have been using the TabGroup.SelectedTab.Title property to do this, but in 2023b Update 7, I noticed when you query this property, it does not reliably return the title of the tab that is actually selected.
I reported this to MathWorks Technical Support, and the person I spoke to said this issue had not been reported yet.
Any ideas?
Kind regards,
David
1) mouse location? but this method would depend on the size and shape of the title text.
I'll likely need to rearrange my content into different containers, but it will take time.
Réponses (1)
David Meissner
le 29 Fév 2024
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!