Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 December 8th, 2003, 06:06 PM
Authorized User
 
Join Date: Oct 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default MDI Sibling calling Sibling...

I am having a problem with terminology, and can't seem to find answers that are probably right under my nose...

I have a MDI application. The main form (MDI container) currently opens instances of three different child forms (form2,form3,form4).

How do I 'call' (open) form3 from say, form2 (another child form), and have the new form3 opening [u]as a MDI child of the main form</u>? I hope that makes sense...

Thanks in advance...

 
Old December 8th, 2003, 09:23 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

simply

in form2

        Dim frm2MdiChild = New Form3()
        'Set the parent of the MDI child form.
        frm2MdiChild.MdiParent = frmParentChild.ActiveForm
        'Display the new form.
        frm2MdiChild.Show()





Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using preceding-sibling mcanne98 Infopath 0 September 11th, 2008 11:09 PM
following-sibling. hanzelko XSLT 1 February 2nd, 2007 04:11 PM
checking first sibling stavinoha XSLT 2 July 4th, 2006 02:13 AM
preceding-sibling jonesyp XSLT 2 November 22nd, 2005 12:29 PM
preceding-sibling after sort rushman XSLT 3 January 18th, 2005 11:08 AM





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