How to Make a MDI Child in VB 2008

Hello guy's, at this time i will show you on how to make or create a MDI child in
VB 2008 so this is a simple line of code that will saved your day on how to deal
with this, situationfirst thing to do is Add MDI Parent on the Project Tab or if you
want not to Add MDI parent, just Adding to forms, that way is fine, so the code's
will look like this:



        Form1.MdiParent = Me
        Form1.Show()


 'Me is your MDI child Container which is the mother form
'Form1 is the MDI child 


if you dealing  with two(2) forms, you must set the first Form, where you want
to become a MDI Container from Form Properties named IsMdiContainer,
you must set this to True instead of False, and then write the code above where
do want to insert

Happy Coding ^_^
The Hardest Thing to Do is to DO Nothing ^_^
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Leave a comment

Copyright @ Codes-47.Blogspot.Com. Powered by Blogger.