MATLAB Answers

GUI - How to make a pop-up figure prevent from modifying anything else until it's closed

15 views (last 30 days)
Stefano
Stefano on 27 Feb 2012
In the GUI that I'm programming, a pushbutton makes a figure appear where some stuff can be set. What I would like is that this figure prevents the user from beeing able to modify any other displayed figure until it is closed. I read in the MATLAB help that there's a property that can be set, but I can't find it again. Thanks for your help, Stefano

  0 Comments

Sign in to comment.

Accepted Answer

jiro
jiro on 27 Feb 2012
Is this what you're looking for?
figure('WindowStyle', 'modal')

  3 Comments

Sign in to comment.

More Answers (1)

Oleg Komarov
Oleg Komarov on 27 Feb 2012

  3 Comments

Stefano
Stefano on 27 Feb 2012
Thanks for replying. These are nice solutions but I'm quite sure that there is something already existing in Matlab. Something like it happens in Windows when you click on "Options" in some settings, when you can't modify the underlying windows until you close the overlying.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!