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.

1 回表示 (過去 30 日間)
vandana
vandana 2015 年 5 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Sachin Ganjare
Sachin Ganjare 2015 年 5 月 4 日
You can use 'keypress' function along with visibility property of panel in question.
Hope it helps!!!
  3 件のコメント
vandana
vandana 2015 年 5 月 5 日
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