Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Panel will not "bring to front"
Replies: 1   Last Post: Jan 2, 2013 2:28 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
matt dash

Posts: 629
Registered: 4/18/08
Re: Panel will not "bring to front"
Posted: Jan 2, 2013 2:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.