Results 1 to 2 of 2

Thread: [RESOLVED] MDI Child problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2008
    Posts
    90

    Resolved [RESOLVED] MDI Child problem

    How can i set the form1 as a mdi child? when im showing the form in the mdi parent the form appears but the form is not exactly inside the mdi parent. In vb6 i can make it by setting the form1 to mdi child into true, but in vb9 i cant find it.help.thanks.
    PL:VB2008
    LEVEL: beginner

    There must be a simpler way to do this...

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: MDI Child problem

    You assign the parent form to the child's MdiParent property before calling Show. The parent form's IsMdiContainer property must be set to True.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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