how to place form in an MDIcontainer?

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
 
G

Guest

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
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top