UIFigure や AppDesigner の GUI 画面を操作できない状態(disable) に設定できますか?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 May 2022
Answered: MathWorks Support Team
on 19 May 2022
AppDesigner で作ったアプリケーションの画面(UIFigure)をある処理中だけ、操作できないようにしたいです。
Figure には Enable プロパティがありましたが、UIFigure には Enable プロパティがないようです。
Accepted Answer
MathWorks Support Team
on 19 May 2022
AppDesigner の主なコンポーネントである UIFigure には Enable プロパティがありません。
代替案として、uiprogressdlg 関数を用いることが可能です。
・uiprogressdlg 関数
uiprogressdlg 関数で表示されるダイアログボックスが表示されている間は、GUI は操作できない状態になります。
例:
d = uiprogressdlg(app.UIFigure,'Title','Please Wait'); % ダイアログ表示(GUI はDisable 状態)
...
close(d) % ダイアログ終了(Enable 状態に戻る)
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!