Panel will not "bring to front"
4 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Sean de Wolski
2013 年 1 月 2 日
編集済み: Sean de Wolski
2013 年 1 月 2 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!