StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Resizing controls question...Expand / Collapse
Author
Message
Posted 09/21/2006 9:44:49 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 07/09/2008 2:20:16 PM
Posts: 436, Visits: 944
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?

Post #2945
Posted 09/21/2006 9:47:11 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 10:38:53 PM
Posts: 2,683, Visits: 1,883
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.


www.bungie.net
Post #2946
Posted 09/21/2006 9:57:11 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 07/09/2008 2:20:16 PM
Posts: 436, Visits: 944
Thanks! Thats a standard .NET control. Do you guys have your own version of that control?
Post #2948
Posted 09/21/2006 10:02:25 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
You can just use the standard .NET control. 
Post #2949
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:00am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.