Arrange Method
Home Page (Objects) | Overview | FAQ | Reference
Applies to: Windows object
Tiles, maximizes, or minimizes all open windows.
Syntax
object**.Arrange**state
Parameters
object
An expression that evaluates to a Windows object.
state
An enum of type DsArrangeStyle that sets the state of the windows. Following are the possible values, which have the Long type:
dsCascade Cascades the windows.
dsMinimize Minimizes the windows.
dsTileHorizontal Tiles the windows horizontally.
dsTileVertically Tiles the windows vertically.
Remarks
If you get the collection of windows associated with a document by using the Windows property of the Document object, the Arrange method affects only those windows — not all windows open in Developer Studio.
Example
The following example tiles all open windows horizontally:
Windows.Arrange dsTileHorizontal