|
-
Aug 6th, 2002, 11:53 PM
#1
Thread Starter
New Member
need help on MDIform
I have one form which is MDIParent (formA), now i call a MDIchild (formB) from formA.
code:
Dim f as new formB
f.MDIParent=Me
f.show()
On formB, i have a button to call another normal form (formC).
My question is, how to make formC as child for formA?
thank you for your replies... i really appreciate it....
-
Aug 6th, 2002, 11:57 PM
#2
Member
Just set formC to have the same parent as formB. So from within formB you would use this code.
Dim formC As New Form()
formC.MdiParent = Me.ParentForm
formC.Show()
-
Aug 7th, 2002, 02:20 AM
#3
Thread Starter
New Member
thank you for the code.... and my project now run smoothly....
thanks....
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
|