MDI / Child Form problem

wypman

New member
Joined
Jun 27, 2006
Messages
4
Programming Experience
Beginner
MDI Form problem.

I have 2 forms Form1 I have set the IsMdiContainer to true. Form2 I want to use as the child form - but I cannot find a property that refers to using Form1 as the parent? Do I have to load a component or can it only be specified using code?
 
I cannot find a property that refers to using Form1 as the parent? Do I have to load a component or can it only be specified using code?


There is no property that you can set at design time that determines the MDI status of a form. It is set as per JohnH instruction at runtime:

'in the parent container
Dim x as New Form1()
x.MdiParent = Me
x.Show()
 
Back
Top