How to resize the entire window contents.

I have a C# program, using .NET... I have a bunch of controls in a tab container inside a main form... I want the user to be able to resize the mainForm window and have the other objects resize proportionally.

Can that be done?  If so, how?
rmmarshAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
Yes...controls automatically adjust themselves to their containers based on their Anchor() and Dock() properties.
http://www.devx.com/dotnet/Article/6964/1954

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rmmarshAuthor Commented:
How does one handle fonts?
0
Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
I don't think there is anything automatic for adjusting fonts...you would have to manually adjust sizes.
(I could be wrong though)
0
rmmarshAuthor Commented:
OK... I have made some changes, and when I try to resize the window by dragging the bottom, it moves (I can see the dotted line outline) and then snaps back!  Why?
0
rmmarshAuthor Commented:
Moderator:  this issue is still alive, but has been abandoned by Idle_Mind... please close and refund points.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.