buttongroup more layer bring in front

1 Ansicht (letzte 30 Tage)
Margareta Drozdikova
Margareta Drozdikova am 18 Jan. 2018
Kommentiert: Adam am 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 Kommentare
Margareta Drozdikova
Margareta Drozdikova am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by