Multiple window application with APPDESIGNER (MODAL WINDOW, locking background window)

5 ビュー (過去 30 日間)
Francisco Dias
Francisco Dias 2017 年 11 月 25 日
回答済み: Harshit Singh 2018 年 10 月 9 日
Hi every one I just read the article on multiple window application in APPDESIGNER, and though I understood how to share data between windows. But my main problem is regarding locking the background window, while the "popup" (another window, for options) is displayed.. both windows are build using appdesigner!
Some ideias one how to approach this!?!

回答 (2 件)

JClarcq
JClarcq 2018 年 2 月 8 日
Read documentation there is an example https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html
  1 件のコメント
Carina Schwab
Carina Schwab 2018 年 4 月 24 日
Unfortunately, the linked example does not mention how to create the second window in "modal" mode. I think what Francisco was looking for - and what I am looking for too - is to disable the background window (manually achievable by disabling all elements) AND prevent that the opened second window can hide behind the background window.

サインインしてコメントする。


Harshit Singh
Harshit Singh 2018 年 10 月 9 日
During callback delete the current UIFigure.
Just add
delete(app.UIFigure);
to the callback function

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by