How to get Second GUI to pop up in Front of Main GUI instead of Behind
Afficher commentaires plus anciens
When i launch another GUI from my main GUI, the new one pops up BEHIND the main GUI, i want it to pop up in front of the main GUI. is there a "make this the current figure" code? or a "send GUI to back" code?
Réponses (2)
Michael Johnson
le 28 Mar 2015
0 votes
Geoff Hayes
le 28 Mar 2015
Michael - if you want to have your second GUI appear in front of the first one, you can use uistack to re-order the visual stacking order of objects. In the function where you launch your second GUI, just do the following (assuming you launch the GUI by calling its name)
hGui = MyGui;
uistack(hGui,'top');
Catégories
En savoir plus sur Migrate GUIDE Apps dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!