?
Solved

How to resize the entire window contents.

Posted on 2008-11-04
5
Medium Priority
?
174 Views
Last Modified: 2013-11-27
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?
0
Comment
Question by:rmmarsh
  • 3
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1500 total points
ID: 22878623
Yes...controls automatically adjust themselves to their containers based on their Anchor() and Dock() properties.
http://www.devx.com/dotnet/Article/6964/1954

0
 

Author Comment

by:rmmarsh
ID: 22879879
How does one handle fonts?
0
 
LVL 86

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 1500 total points
ID: 22880085
I don't think there is anything automatic for adjusting fonts...you would have to manually adjust sizes.
(I could be wrong though)
0
 

Author Comment

by:rmmarsh
ID: 22891580
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
 

Author Comment

by:rmmarsh
ID: 23159309
Moderator:  this issue is still alive, but has been abandoned by Idle_Mind... please close and refund points.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question