Info
此问题已关闭。 请重新打开它进行编辑或回答。
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.
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Sachin Ganjare
2015-5-4
You can use 'keypress' function along with visibility property of panel in question.
Hope it helps!!!
3 个评论
Sachin Ganjare
2015-5-4
Please look into below URL: http://stackoverflow.com/questions/22145294/detect-keyboard-input-matlab
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!