GUI window does not show up in front
Mostrar comentarios más antiguos
I created an GUI window A using GUIDE. This window is supposed to be open when user clicks a button on another GUI window B. However, after clicking the button, window A does not show up in front. I can see the window has been created and shown in the task bar. But even clicking the window icon from task bar does not bring it to front. Basically, I can not see or operate on window A. What could be wrong for window A to continue staying at the back of other windows?
Thanks.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 12 de Abr. de 2012
0 votos
Possibly the 'visible' property for it is currently set 'off' ? In B you need to set() the 'visible' property for figure A to be on.
4 comentarios
Boyang Zhang
el 13 de Abr. de 2012
Walter Roberson
el 13 de Abr. de 2012
If it is already visible there should not be any problem.
How do you ask to open "A" inside "B" ?
Boyang Zhang
el 13 de Abr. de 2012
Walter Roberson
el 13 de Abr. de 2012
Ah... possibly that code is turning off the visibility of A.
Put a breakpoint at the place A is called, and then single-step into that code in the debugger.
Categorías
Más información sobre App Building 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!