Panel will not "bring to front"

4 visualizaciones (últimos 30 días)
Matt
Matt el 2 de En. de 2013
I have a GUI and I would like to (upon key-press) make a panel appear over the GUI. The only problem I am having is that I can't seem to make this panel be above static text.
%keypress
uistack(handles.mypanel,'top');
set(handles.mypanel,'visible','on');
As I stated, this code works, and brings the panel above everything except static text. Does anyone know of a solution or workaround to make the panel truly be on top? Thanks.
-Matt

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 2 de En. de 2013
Editada: Sean de Wolski el 2 de En. de 2013
The way I would go about this is by setting the textbox uicontrol's 'Parent' to be another uipanel. Then when you turn the new uipanel's visibility on, turn the other uipanel's visbility off.
That's how some of these work:
Of course, if the one textbox is the only thing you don't want to see, simply turn its visibility off.

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