MATLAB Function Reference Previous page   Next Page
uistack

Restack objects

Syntax    

uistack(h)

uistack(h, stackopt)

Description

uistack enables you to change the stacking order of objects.

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

uistack(h, 'up', n) moves h up n steps

uistack(h, 'down', n) moves h down n steps

Example

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


Previous page  uisetpref uitoggletool Next page

© 1994-2005 The MathWorks, Inc.