Resize

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi,

Can some one please point me in the direction of some C# code that will
resize all controls on a form when the form is resized.

Thanks

Chris
 
Chris said:
Hi,

Can some one please point me in the direction of some C# code that will
resize all controls on a form when the form is resized.

Thanks

Chris
Check out the dock and anchor properties.
Otherwise you would need to resize in the resize event.

JB
 
Hello,
To be more exact you need to change it in SizeChanged event, if you
are not using Dock or Anchor properties.

HTH. Cheers
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top