Results 1 to 2 of 2

Thread: Help arranging mdi forms

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2005
    Location
    Winston Salem
    Posts
    45

    Help arranging mdi forms

    What is the code for the cascade, tile, etc.. you know, the menu items usually under the "Window" menu item. its prolly something simple

  2. #2
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: Help arranging mdi forms

    Yep.. its pretty simple.. here's what I use, it is in a menu on the main mdi container form...
    VB Code:
    1. Private Sub mnuCascade_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuCascade.Click
    2.         Me.LayoutMdi(MdiLayout.Cascade)
    3. End Sub
    4.  
    5. Private Sub mnuHorizontal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHorizontal.Click
    6.         Me.LayoutMdi(MdiLayout.TileHorizontal)
    7. End Sub
    8.  
    9. Private Sub mnuVertical_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuVertical.Click
    10.         Me.LayoutMdi(MdiLayout.TileVertical)
    11. End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width