How do I stop MATLAB from changing the focus to a random window after closing a dialog?
Mostrar comentarios más antiguos
Hi,
when I create a simple dialog like:
dialog('name','My Dialog');
and then close it using the "X" an arbitrary other window (not another MATLAB figure, just a random program like outlook) gets the focus.
strange :-S
Any ideas?
Greetings
Jeffrey
Respuesta aceptada
Más respuestas (2)
Jeffrey
el 14 de Ag. de 2012
0 votos
1 comentario
Sean de Wolski
el 14 de Ag. de 2012
Yeah, I have passed it along :)
Matt Fig
el 14 de Ag. de 2012
I cannot reproduce this. Perhaps if you use the figure command after you call DIALOG you can regain focus where you want. I assume you are calling DIALOG programmatically?
figure(fig_handle)
1 comentario
Sean de Wolski
el 14 de Ag. de 2012
It seems to be 12a only for me.
Categorías
Más información sobre Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!