Dynamically resizing controls

  • Thread starter Thread starter UmmagummA
  • Start date Start date
U

UmmagummA

Any idea, how to dynamically resize controls on the form when, the form is
resized, let say maximized? Is there any elegant, logical way to do this
 
Hi,

You could either Dock and Anchor the controls on the form, or
set the Height/Width properties of the controls relatively when the Form changes size.
 
Hi UmmagummA,

Like Rakesj Rajan said, you can use Dock and Anchor. If you anchor a control to both left and right it will resize in width as the form changes. Top + Bottom will resize its height.
 

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

Similar Threads


Back
Top