Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

Arrange Method

See Also    Example    Applies To

Arranges the windows or icons within an MDIForm object. Doesn't support named arguments.


object.Arrange arrangement

The Arrange method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
arrangement Required. A value or constant that specifies how to arrange windows or icons on an MDIForm object, as described in Settings.


The settings for arrangement are:

Constant Value Description
vbCascade 0 Cascades all nonminimized MDI child forms
vbTileHorizontal 1 Tiles all nonminimized MDI child forms horizontally
vbTileVertical 2 Tiles all nonminimized MDI child forms vertically
vbArrangeIcons 3 Arranges icons for minimized MDI child forms


These constants are listed in the Visual Basic (VB) object library in the Object Browser.

Windows or icons are arranged even if the MDIForm object is minimized. Results are visible when the MDIForm is maximized.

© 2015 Microsoft