how to place form in an MDIcontainer?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have a form with 4 pannels docked to the form, each other, with splitters,
ect. that I can drag and change the size of the pannels... I need to place
this form in an MDIcontainer form. The goal is to compensate for different
screen resolutions. I am thinking placing this form with all the pannels in
an MDIcontainer form will give me scrollbars. I can get scrollbars on the
pannel form, but since I have splitters - the scrollbars only appear on half
the form - the half where the pannels are docked to the form. Thus, I am
thinking the MDIform. So how to I place this form inside the MDIcontainer
form?

Or - would it be possible for me to place scrollbar controls on the form and
then place panels on the form and so on?

Thanks,
Rich
 
I figured it out. Since I am only going to have the one child form in the
MDIcontainer, when I load the MDIcontainer form - in the load event I can say

Privare Form1_Load(...)
myChildForm.MIDParent = Me
myChildForm.Show
....
 
Back
Top