フィルターのクリア

uigetfile - forces main gui to go behind other windows

3 ビュー (過去 30 日間)
Jason
Jason 2024 年 2 月 2 日
コメント済み: Jason 2024 年 2 月 2 日
Does anyone else suffer from this:
From a GUI created by appdesigner, when you run uigetfile and open a file, the gui goes behind other windows windows that may be open like explorer
This is my code:
[file,path]=uigetfile({'*.xls';'*.txt'},'Load Data',app.startfolder);
filename=fullfile(path,file);
app.startfolder=path;
T = readtable(filename);
Ny main GUI Figure (app.UIFigure) is set so that:
windowstyle =Normal
windowstate=Maximized

採用された回答

Adam Danz
Adam Danz 2024 年 2 月 2 日
  1 件のコメント
Jason
Jason 2024 年 2 月 2 日
Thanks, this is whats needed:
figure(app.UIFigure)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by