buttongroup more layer bring in front

1 次查看(过去 30 天)
Hi, in my gui i have more buttongroups. I use set(handles.uibuttongroup2,'Visible','on') in my code (for example). But it works just in case that the buttongroups are next each other it doesnt work in case that layers are on each other, I think I have to bring needed layer on the top of layers. Can you help how can I solve this problem, thanks
  7 个评论
Margareta Drozdikova
In my gui I have more buttongroups for more function, I use it for user input, user inputs for example seconds or another parameter, I am using set visibility on off, as you had written, it works just in case that the buttongroups are not in layers, In my gui I have more than 10 buttongroups and they are in the same position
Adam
Adam 2018-1-19
Is it a GUIDE GUI and did you drag the button groups into position on top of each other? If you did then most likely each will become parent for the subsequent one which is not what you want at all. If you position them all programmatically or by typping numbers in rather than dragging then they should all have the correct parent and I don't see why making them all invisible apart from one wouldn't work.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by