Hiding/Showing GUI features based on startup key press?
1 view (last 30 days)
Show older comments
Is there a way to hide an entry field (or any design component) depending on if a key is pressed during startup?
For example, I depress the 'Shift' key and start my standalone APP Designer GUI program. Is there a way for the program to know the Shift-Key was depressed and not show an enter field in the gui, like a secret/designer mode in this standalone GUI app?
If if this is not possible, would a debug flag set to 0 (do not show enter fields) or 1 (show all fields) be another approach?
Thanks!
1 Comment
Mario Malic
on 13 Jul 2023
This might work, take a look here https://uk.mathworks.com/help/matlab/creating_guis/app-designer-startup-function.html
Answers (0)
See Also
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!