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

4 visualizaciones (últimos 30 días)
Adam J. Senko
Adam J. Senko el 8 de Mayo de 2020
Respondida: Harsha Priya Daggubati el 11 de Mayo de 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.

Respuestas (1)

Harsha Priya Daggubati
Harsha Priya Daggubati el 11 de Mayo de 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!

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by