Hiding/Showing GUI features based on startup key press?

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!

Answers (0)

Categories

Products

Release

R2019a

Asked:

on 12 Jul 2023

Commented:

on 13 Jul 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!