MDIParent Tiling children
Asked Answered
F

1

6

Is there any way to tile all of the form children of an mdi parent easily? I'm looking for most of the functionality that windows offers, tile cascade. Anyone know of an easy way?

Festal answered 26/9, 2008 at 4:14 Comment(0)
K
7

try these...

// Tile all child forms horizontally.
this.LayoutMdi( MdiLayout.TileHorizontal );

// Tile all child forms vertically.
this.LayoutMdi( MdiLayout.TileVertical );

// Cascade all MDI child windows.
this.LayoutMdi( MdiLayout.Cascade );
Kitchener answered 26/9, 2008 at 4:19 Comment(2)
You are the wind beneath my wings.Festal
I had to put this.LayoutMdi into protected override void OnShown to get the layout working work https://mcmap.net/q/1777286/-layoutmdi-fails-in-form-39-s-onload-eventOviform

© 2022 - 2024 — McMap. All rights reserved.