UIFigure や AppDesigner の GUI 画面を操作できない状態(disable) に設定できますか?

8 views (last 30 days)
AppDesigner で作ったアプリケーションの画面(UIFigure)をある処理中だけ、操作できないようにしたいです。
Figure には Enable プロパティがありましたが、UIFigure には Enable プロパティがないようです。​

Accepted Answer

MathWorks Support Team
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 状態に戻る)

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!