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.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (1)
Sachin Ganjare
on 4 May 2015
0 votes
You can use 'keypress' function along with visibility property of panel in question.
Hope it helps!!!
3 Comments
vandana
on 4 May 2015
Sachin Ganjare
on 4 May 2015
Please look into below URL: http://stackoverflow.com/questions/22145294/detect-keyboard-input-matlab
vandana
on 5 May 2015
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!