Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Jan
Jan el 16 de Mayo de 2012
You can set the "WindowStyle" property of the error message to 'modal'.
  5 comentarios
Thulasi Durai Durai Samy
Thulasi Durai Durai Samy el 16 de Mayo de 2012
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.
Jan
Jan el 20 de Mayo de 2012
See "set(gcf)" and "doc figure".

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by