By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,140 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,140 IT Pros & Developers. It's quick & easy.

how to place form in an MDIcontainer?

P: n/a
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
May 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
....

"Rich" wrote:
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

May 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.