how to un-enable a tab in a tab group in a gui
Show older comments
I want to be able to enable or un-enable an entire tab. I don't see a way to do that. You can with Edit Fields, Text boxes, and other fields/objects. The other fields have check boxes for Visible, Editable, and Enable, but the Tab does not. Do I have to put everything in that tab into a panel and un-able that (to be enabled at a later time)?
Accepted Answer
More Answers (1)
Strider
on 8 Dec 2024
0 votes
I believe I have tried to do the same thing as you with no luck.
An option I settled on is to put everything on your tab in a reusable component and programmatically create or delete your tab.
When you create the tab you can assign the parent (ui panel on the tab) of a reusable component upon construction.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!