Click here to Skip to main content
15,917,545 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i have added one flow layout panel and one table layout panel in windows form.then i have added 3 labels,1 text box and 2 button controls in both of them.
now i run the project and i want that the setting of my page will remain same if i resize the window with mouse(increasing or decreasing the size of window).The control should adjust itself according to the size of window.
what is the solution for the problem??

thanks
Posted
Updated 3-Apr-10 0:56am
v2

1 solution

Still not quite sure what you want, by "should adjust itself according to the size of the window" - In the FlowLayoutPanel, they move around as the control grows and shrinks. In the TableLayoutPanel, they move around and grow / shrink.

If they are not doing that, are you sure that your panels are growing and shrinking when you re-size the form? Have you checked the Anchor properties?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900