Results 1 to 5 of 5

Thread: MDI child window sizing...

  1. #1

    Thread Starter
    Addicted Member LiquidRezin's Avatar
    Join Date
    Dec 2000
    Location
    Aliso Viejo, CA
    Posts
    176

    MDI child window sizing...

    Hey people, can someone tell me me how or give me a link to where i can find info on sizing child forms when i resize my mdi form? What I want to happen is, when I open my MDI and I resize it, I want all the child forms in that MDI to resize also...I tried some stuff already, but it doesnt work....any help appreciated.
    Ah read ur *****scope and eat some *****durrrvs!

  2. #2

    Thread Starter
    Addicted Member LiquidRezin's Avatar
    Join Date
    Dec 2000
    Location
    Aliso Viejo, CA
    Posts
    176
    nm, i figured it out, thanks anyway guys
    Ah read ur *****scope and eat some *****durrrvs!

  3. #3
    New Member
    Join Date
    Mar 2001
    Posts
    5
    can you share your experience with us Thanks

  4. #4

    Thread Starter
    Addicted Member LiquidRezin's Avatar
    Join Date
    Dec 2000
    Location
    Aliso Viejo, CA
    Posts
    176
    Originally posted by vbfan928
    can you share your experience with us Thanks
    it's simple really...in your mdi, in the resize event, call a function in the child form
    in the child form's function use the move function so that the width and height are adjusted according to the ratio of the child form and the mdi

    something like this

    public sub moveMe()
    move 0, 0, width, height
    end sub
    Ah read ur *****scope and eat some *****durrrvs!

  5. #5
    Megatron
    Guest
    Code:
    Private Sub MDIForm_Resize()
        Form1.Width = MDIForm1.Width / 2
        Form1.Height = MDIForm1.Height / 2
    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