Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

uistack - Reorder visual stacking order of objects

Syntax

uistack(h)
uistack(h,stackopt)
uistack(h,stackopt,step)

Description

uistack(h) raises the visual stacking order of the objects specified by the handles in h by one level (step of 1). All handles in h must have the same parent.

uistack(h,stackopt) moves the objects specified by h in the stacking order, where stackopt is one of the following:

uistack(h,stackopt,step) moves the objects specified by h up or down the number of levels specified by step.

See Setting Tab Order in the MATLAB documentation for information about changing the tab order.

Example

The following code moves the child that is third in the stacking order of the figure handle hObject down two positions.

v = allchild(hObject)
uistack(v(3),'down',2)
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS