Create a UI Component when Checkbox is checked, remove when unchecked
15 views (last 30 days)
Show older comments
Hello,
I am trying to create a GUI in the App Designer and I want to have it so that when the user presses the checkbox component a new listbox component will be created on screen with further options for the user to interact with. If the user were to uncheck the box I would have the UI created disappear. I have tried to no avail and have not been able to find anything else online helping with this.
Any help is much appreciated!
2 Comments
Walter Roberson
on 11 May 2021
Is it necessary to create it dynamically? Or would it be acceptable to instead create it statically and only make it visible when it is needed?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer 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!