I made a little MDI form, now how should I add the child forms?
I noticed the MdiParent property, should I just set that in Form_Load?
Printable View
I made a little MDI form, now how should I add the child forms?
I noticed the MdiParent property, should I just set that in Form_Load?
yes, thats exactly how to do it in VB.NET
the old VB6 concept of setting the MDIChild property (or whatever it was called - can't remember) to true doesn't exist any more...
basically to do MDI in VB.NET you set IsMDIConatainer to true in your MDI Parent form, and then when a child form opens, you set the MDIParent property to the MDIParent form you have...
HTH
funky
tnx for the help :) so basically you cant set it at design time, right?
essentially yeah thats what it boils down to. Intuitively it seems like a backwards step doesn't it? but i think it has brought it inline with most other "visual" languages that do it this way...