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

Answers (2)

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

1 Comment

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.

Sign in to comment.

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

Categories

Asked:

on 25 Nov 2017

Answered:

on 9 Oct 2018

Community Treasure Hunt

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

Start Hunting!