stustarz Posted January 14, 2003 Posted January 14, 2003 hi I currently have a main MDI Parent form and three MDI Children. I have a command button on one of the MDI children that opens another MDI Child. How do I set this button to open the new form as a child of the MDI Parent? Does this make sense? I currently have this code Dim frmComp As New frmComp() frmComp.Show() varTransItem = txtCompetition.Text Thanks Quote Visit: VBSourceSeek - The VB.NET sourcecode library "A mere friend will agree with you, but a real friend will argue."
*Gurus* divil Posted January 14, 2003 *Gurus* Posted January 14, 2003 Dim frmComp As New frmComp() frmComp.MDIParent = Me.MDIParent frmComp.Show() Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
stustarz Posted January 14, 2003 Author Posted January 14, 2003 Thanks and sorry for originally posting in the wrong forum! Quote Visit: VBSourceSeek - The VB.NET sourcecode library "A mere friend will agree with you, but a real friend will argue."
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.