Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Panel will not "bring to front"
Posted:
Jan 2, 2013 2:28 PM
|
|
"Matt " <matt_minakais@yahoo.com> wrote in message <kc1hf0$prn$1@newscl01ah.mathworks.com>... > 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
You can't. Uicontrols are always on top of uipanels and axes. Try just settings the static text's visible property to "off" so it disappears when the panel appears.
|
|
|
|