StrataFrame Forum

Resizing controls question...

http://forum.strataframe.net/Topic2945.aspx

By StarkMike - 9/21/2006

What would be the best way to resize these controls dynamically as the form resizes? You'll notice I have 18 controls there (9 labels, 9 other assorted controls). What I want to be able to do is to have labels and controls resize as i resize the form. Obviously i dont want the labels to resize themselves but they will need to move based on the size of the controls.



What would be the best way to approach this?



By StrataFrame Team - 9/21/2006

In that instance, you would be best served to use a TableLayoutPanel... you create cells and place the controls in the cells.  Then, you can devine column widths as percentages & dock the TableLayoutPanel or anchor it.
By StarkMike - 9/21/2006

Thanks! Thats a standard .NET control. Do you guys have your own version of that control?
By Trent L. Taylor - 9/21/2006

You can just use the standard .NET control. Smile