Focusing of Main GUI should stop until I press OK button in errordlg box
    1 回表示 (過去 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
0 件のコメント
採用された回答
  Jan
      
      
 2012 年 5 月 16 日
        You can set the "WindowStyle" property of the error message to 'modal'.
5 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


