buttongroup more layer bring in front

1 view (last 30 days)
Margareta Drozdikova
Margareta Drozdikova on 18 Jan 2018
Commented: Adam on 19 Jan 2018
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 Comments
Margareta Drozdikova
Margareta Drozdikova on 19 Jan 2018
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 on 19 Jan 2018
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.

Sign in to comment.

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!