필터 지우기
필터 지우기

How to make a GUI Non-active But stays visible.

조회 수: 3 (최근 30일)
Digitalsd
Digitalsd 2013년 5월 17일
There are two GUIs, GUI1 has several buttons one of them is used to run GUI2, and GUI2 has one “OK” button.
The Question:
How to make GUI1 non-active but stays visible when GUI2 is called, and Reversely how GUI1 can go back to be active, when GUI2 is closed.

채택된 답변

Jan
Jan 2013년 5월 18일

추가 답변 (1개)

David Barry
David Barry 2013년 5월 17일
You could look to set the enabled property of items in your non-active GUI to off or inactive when GUI2 becomes visible.
  댓글 수: 1
Digitalsd
Digitalsd 2013년 5월 18일
In the same callback that run GUI2, I can set the enable property of each button in GUI1 to be OFF, but how I can turn them ON when GUI2 is closed.
To simplify the problem:
GUI1 represent the main application window and this window has an “About” button, Once “About” button is pressed the main window will become non active and a small window GUI2 will show up, this small window has only an “OK” button, the user must press the “OK” button before going back to active main window GUI1.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by