ArrangeSheets
PowerScript function
Description
Arranges the windows contained in an MDI frame. (Windows that are
contained in an MDI frame are called sheets.) You can arrange the open
sheets and the icons of minimized sheets or just the icons.
Applies to
MDI frame windows
Syntax
|
1 |
mdiframe.ArrangeSheets ( arrangetype ) |
|
Argument |
Description |
|---|---|
|
mdiframe |
The name of an MDI frame window. |
|
arrangetype |
A value of the ArrangeTypes enumerated datatype specifying
|
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, ArrangeSheets returns null.
Examples
This statement in the script for the Clicked event for an item on a
menu tiles the open sheets that are not minimized in the MDI frame window
called MDI_User:
|
1 |
MDI_User.ArrangeSheets(Tile!) |
This statement in the script for the Clicked event for an item on a
menu arranges the icons of the minimized sheets at the bottom of the MDI
frame window called MDI_User:
|
1 |
MDI_User.ArrangeSheets(Icons!) |
See also