|
-
Jan 4th, 2004, 08:43 PM
#1
Thread Starter
Member
MDI Projects
I have got an MDI Project which automatically opens a child form. From that child form, I then want to open another child form. How is this done. This is what I am doing to open the first child form. Under the MDI form:
VB Code:
Dim frm As New frmStep1
frm.MdiParent = Me
frm.Show()
This however does not work from a child form as it is not an MDI form. Any ideas?
-
Jan 5th, 2004, 12:31 AM
#2
PowerPoster
Yes, if you want to open a form from an child form, and make the new form a child of the parent, you do this:
Code:
Dim frm As New frmStep1
frm.MdiParent = Me.MdiParent
frm.Show()
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
|