Hiding/Showing GUI features based on startup key press?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mario Malic
2023-7-13
This might work, take a look here https://uk.mathworks.com/help/matlab/creating_guis/app-designer-startup-function.html
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!