Arranges the child's position on an MDI Frame form.
Object.MDIArrange ( enArrange )
The MDIArrange method syntax has the following parts:
Name |
Type |
Description |
Object |
AForm |
AForm object |
enArrange |
Val enumAFormMDIArrange |
An integer specifying how to arrange windows or icons on an MDI Frame form. |
Name |
Value |
Description |
aformMDIArrangeCascade |
0 |
Cascade. Cascades all nonminimized MDI child forms. |
aformMDIArrangeTileHorizontal |
1 |
Tile Horizontal. Tiles all nonminimized MDI child forms horizontally. |
aformMDIArrangeTileVertical |
2 |
Tile Vertical. Tiles all nonminimized MDI child forms vertically. |
aformMDIArrangeArrangeIcons |
3 |
Arrange Icons. Arranges icons for minimized MDI child forms. |
This method is only applicable for use with MDI Form type. The method arranges the MDI child forms on the client area of the MDI Form.
The following statement changes the AForm to MDIArrange all its nonminimized MDI child forms horizontally:
MDIArrange(aformMDIArrangeTileHorizontal)