|
-
Mar 22nd, 2004, 04:19 PM
#1
Thread Starter
Lively Member
MDI question...
I have an MDI form called mother, and i want to be able to open a form from inside a child form and still have mother as the container form.
Obviously I cant use me (it is frmstatus, which is not the mdi container), so what can I do?
Code:
Dim NewMDIChild As New frmIRC()
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
-
Mar 22nd, 2004, 05:10 PM
#2
PowerPoster
Hi,
amend the line
NewMDIChild.MdiParent = Me
to
NewMDIChild.MdiParent = Me.mdiParent
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|