Hiding/Showing GUI features based on startup key press?

1 visualización (últimos 30 días)
Scotty Mac
Scotty Mac el 12 de Jul. de 2023
Comentada: Mario Malic el 13 de Jul. de 2023
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!

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by