uiputfile causeing app to 'minimize'/ go to back of the screen

5 Ansichten (letzte 30 Tage)
Adam J. Senko
Adam J. Senko am 8 Mai 2020
When I call and use uiputfile with my .mlapp, after select the file name, the app goes to the 'back' of the screen so that it is 'behind' all other windows. I doesn't minimize it technically, but is a pain to use.

Antworten (1)

Harsha Priya Daggubati
Harsha Priya Daggubati am 11 Mai 2020
Hi,
For MATLAB R2018a and newer you can use the figure command to focus your app again.
uiputfile; % Could be other dialogs here
drawnow;
figure(app.UIFigure)
Hope this helps!

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by