StrataFrame Forum

Resize

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

By Chan - 6/6/2007

Hi,
Any library available to resize my controls + font once form been resized (but not anchoring) ?

Thank you

By StrataFrame Team - 6/6/2007

There might be some 3rd party controls out there that will scale with the size of the form, but I don't think anything in the basic .NET framework will do that... there is the AutoSizeMode on controls that will automatically change the size of controls based upon their font size, but if you want to scale the form's controls when the form resizes, then you'll either have to look for a 3rd party solution or use WPF, which is device independent and supports "zooming" and scale transformations on FrameworkElements.  However, moving to WPF is not to be taken lightly Wink
By Ben Hayat - 6/6/2007

Chan (06/06/2007)
Hi,

Any library available to resize my controls + font once form been resized (but not anchoring) ?



Thank you




I had seen a 3rd party product for Win32 and it didn't look right, since it was zooming/scaling bitmaps and not vector graphics. As Ben said, WPF would be the logical choice, if you're ready to climb up the hill!
By Ben Hayat - 6/6/2007

However, moving to WPF is not to be taken lightly




Just to support what Ben said:

Check this out