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

답변(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