AppDesigner で作成した GUI を常に最前面に保つことはできますか?
19 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 Nov 2022
Answered: MathWorks Support Team
on 16 Nov 2022
App Designer を使って GUI を作成しています。GUI の画面が常に画面の一番上に表示されるように設定する方法を教えてください。
Accepted Answer
MathWorks Support Team
on 16 Nov 2022
R2021a 以降のリリースでは、UIFigure の WindowStyle プロパティを使用し、最前面に表示させることが可能です。
例えば、以下のコードを startupFcn コールバックに追加します。
app.UIFigure.WindowStyle = 'alwaysontop';
なお、modal 設定の Figure とは異なり、このプロパティ設定の UIFigure は、キーボードとマウスの操作を制限しません。
詳細については、UIFigure のプロパティを参照してください。
・UI Figure のプロパティ
0 Comments
More Answers (0)
See Also
Categories
Find more on uifigure ベースのアプリ in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!