Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

I am tring to build GUI . i want to make the panel invisible once key (like "Esc") pressed or mouse clicked on any where on the screen.

1 vue (au cours des 30 derniers jours)
vandana
vandana le 4 Mai 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am tring to build GUI . i want to make the panel invisible once key (like "Esc") pressed or mouse clicked on any where on the screen. How to do that.
Thanks

Réponses (1)

Sachin Ganjare
Sachin Ganjare le 4 Mai 2015
You can use 'keypress' function along with visibility property of panel in question.
Hope it helps!!!
  3 commentaires
vandana
vandana le 5 Mai 2015
along with this i want that if i click anywhere on screen then the particular panel become invisible

Community Treasure Hunt

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

Start Hunting!

Translated by