Why does "Send to Back" and "Bring To Front" fail in GUIDE on Panel and Static Text objects in MATLAB 7.7 (R2008b)?

13 views (last 30 days)
I am creating a figure in GUIDE and I have placed a Panel object and a Static Text object in the frame. I Right click on the front-most one and select "Send to back" (or click on the rear-most one and select "Bring to front") but nothing happens. Why?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Nov 2016
This is expected behavior that has to do with the inability to sort amongst different UIOBJECT types.
Handle graphics specification says that any UICONTROL object (the text object) will always stay on top of any UIPANEL object. You can change the stacking order within each group of UIOBJECT types but you can not change orders between the types.
UICONTROLS and UITABLE maintain one stacking order. AXES, PANELS, and BUTTONGROUPS maintain another.
For more information on Handle Graphics Properties refer to the following;
 

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!