Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Arrange Method
Arranges the windows or icons within an MDIForm object. Doesn't support named arguments.
Syntax
object.Arrangearrangement
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. |
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 |
Remarks
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.