アプリのウインドウを​前面に持ってくるには​どうすればよいですか​?

46 vues (au cours des 30 derniers jours)
Yuichi Gomi
Yuichi Gomi le 19 Déc 2022
Commenté : Yuichi Gomi le 20 Déc 2022
App Designerでアプリ上にボタンを設置し、ボタンのコールバックでuigetfileを呼び出してmatファイルを読み込むと、uigetfileのダイアログの「開く」を押した時点で毎回アプリが他のウインドウの背面に隠れてしまいます。
アプリを最前面にしたままにする、もしくは背面に隠れてしまったアプリを最前面に戻す方法はありますか?

Réponse acceptée

Hernia Baby
Hernia Baby le 20 Déc 2022
  3 commentaires
Hernia Baby
Hernia Baby le 20 Déc 2022
R2018aでのお話なのですね
コマンドの後に
drawnow;
figure(app.UIFigure)
を入れてみるのはどうでしょうか?
Yuichi Gomi
Yuichi Gomi le 20 Déc 2022
意図通り前面に戻ってくるようになりました。ありがとうございます!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur App Designer を使用したアプリ開発 dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!