What is the code for the cascade, tile, etc.. you know, the menu items usually under the "Window" menu item. its prolly something simple :rolleyes:
Printable View
What is the code for the cascade, tile, etc.. you know, the menu items usually under the "Window" menu item. its prolly something simple :rolleyes:
Yep.. its pretty simple.. here's what I use, it is in a menu on the main mdi container form...
VB Code:
Private Sub mnuCascade_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuCascade.Click Me.LayoutMdi(MdiLayout.Cascade) End Sub Private Sub mnuHorizontal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHorizontal.Click Me.LayoutMdi(MdiLayout.TileHorizontal) End Sub Private Sub mnuVertical_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuVertical.Click Me.LayoutMdi(MdiLayout.TileVertical) End Sub