| MATLAB Function Reference | ![]() |
Syntax
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:
'up' - moves h up one position in the stacking order
'down' - moves h down one position in the stacking order
'top' - moves h to the top of the current stack
'bottom' - moves h to the bottom of the current stack
uistack(h, 'up', n) moves h up n steps
uistack(h, 'down', n) moves h down n steps
| Note See Setting the Tab Order Programmatically 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.
| uisetpref | uitoggletool | ![]() |
© 1994-2005 The MathWorks, Inc.