Guest etron_neo Posted August 7, 2002 Posted August 7, 2002 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.... Quote
Guest afrinspray Posted August 7, 2002 Posted August 7, 2002 Have you tried making formB an MdiContainer, and then, Dim fC as new formC fC.MDIParent = Me fC.Show() (this would be in the code for formB)? I know that you can have multiple MDI forms in a solution, but I don't know if one can be the child of another. I believe that it is possible though, since I had some pretty crazy errors like that in my program. Also, by child, do you mean that formB would have the same relationship to form c, as formA has to formB? Or do you mean that formC inherits formB? Thanks, Mike Quote
Guest etron_neo Posted August 8, 2002 Posted August 8, 2002 I have tested your code, but it doesn't work as i have planned. I have try another coding and it work as i plan, that is the coding : Dim f As new formB f.MDIParent=Me.parentform f.show() thank you for your reply. :) Quote
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.