Changes

Jump to: navigation, search

Creating a Visual Basic MDI Form

2 bytes removed, 17:11, 23 July 2007
Writing the Visual Basic Code to Add the Children to the MDI Parent
== Writing the Visual Basic Code to Add the Children to the MDI Parent ==
The next step is to add the two new forms (''''MDIchild1'' and ''MDIchild2'') to the parent form (''MDIparent''). TO do this click on the tab for the parent form in Visual Studio and double click on the form to display the event procedures. We will now write Visual Basic code to add the two child forms to the container parent form. To do this we will set the ''MdiParent'' property of each child to reference the 'MDIparent'' form. Note that because this is the load event of the actual parent form, we refer top it with the keyword ''Me'' rather than by the form name:
<pre>
</pre>

Navigation menu