How can I keep my app in front on the screen?
45 次查看(过去 30 天)
显示 更早的评论
When certain functions are called such as uigetfile() or uigetdir() after the file or directory is chosen the AD generated app goes behind other windows that may be on the screen. How can I bring it back to the front?
figure(app.MyApp);
didn't work.
Also pressing enter rather than mouse clicking to get the default can result in the next popup query [ uiconfirm() or uigetfile() ] coming up behind the application and thus not responding to the enter key. Focus has been lost!
1 个评论
Walter Roberson
2024-10-25,0:38
A few other people have reported this problem.
Unfortunately I do not recall any solutions having been posted.
回答(1 个)
Taylor
2024-10-28,16:28
In App Designer, select your UIFigure in the component browser. set the WindowStyle to "alwaysontop".
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!