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

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!?!

Risposte (2)

Read documentation there is an example https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html

1 Commento

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.

Accedi per commentare.

During callback delete the current UIFigure.
Just add
delete(app.UIFigure);
to the callback function

Categorie

Richiesto:

il 25 Nov 2017

Risposto:

il 9 Ott 2018

Community Treasure Hunt

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

Start Hunting!

Translated by