Focusing of Main GUI should stop until I press OK button in errordlg box

5 次查看(过去 30 天)
I have a gui main window which gets some inputs from user.
If their is an error in the input the gui will pops up error message.
my problem is until the user click 'ok' in the errordlg box the main gui should not get focus. can somebody help me.
I tried with waitfor(), uiwait () these function will stop execution of matlab but still main gui can be operated

采纳的回答

Jan
Jan 2012-5-16
You can set the "WindowStyle" property of the error message to 'modal'.
  5 个评论
Thulasi Durai Durai Samy
Thanks, its working fine. Now the errordlg wait till I press ok button. What are the other property that can be assign to Windowstyle property. Is their any blog reference for it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by