Wrox Programmer Forums
|
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2009, 12:31 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default MDI Child Forms

Hi all,

I'm using Visual Studio 2008 Pro (.Net 3.5 SP1). I'm trying to make some MDI child forms in a Windows project (VB) and cannot find any "MDI Child" or "MDI Parent" property for any form.

How can I designate a form as an MDI Child at design time? I've read the help files and they reference either an "MDI Parent" or "MDI Child" property but I cannot find those properties in the property list of any form.
 
Old June 24th, 2009, 05:35 AM
Registered User
 
Join Date: Jun 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default MDI Child Form

At design time, there is property name 'IsMDIContainer' Set it to true.
and loading a child form in to Parent form use the following code.

Dim NewMDIChild As New Form2
' Form2 is the child form to be invoked
NewMDIChild.MdiParent = Me 'Mentioned the parent form name
NewMDIChild.Show()





Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI Child Forms VBWannabe ASP.NET 3.5 Basics 1 June 2nd, 2009 12:29 PM
MDI & MDI Child Forms Menu's in VB2005 yulyos Visual Studio 2005 0 September 7th, 2007 09:49 AM
closing mdi child forms kanoorani VB Databases Basics 1 May 31st, 2006 03:08 PM
Problem with loading MDI Child Forms. david29118 VB.NET 2002/2003 Basics 0 May 22nd, 2005 07:27 PM
MDI; other programs as child forms? Nick.Net VB.NET 2002/2003 Basics 0 November 28th, 2004 05:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.