Automatic resizing of controls inside forms

  • Thread starter Thread starter Vaughn
  • Start date Start date
V

Vaughn

Where can I get information on automatic resizing of controls when the form
changes size (eg. if I dynamically increase the size of my form, the
listview inside should automatically increase in size ).

Thanks.
 
Vaughn,

I think that what you want to look at is the Anchor property on the
control. The Anchor property will allow you to anchor sides of the control
to the container, so that when the control container is resized, the control
itself sizes accordingly.

Hope this helps.
 
You may also want to look at using the Dock property and the DockPadding
propery of the control container. These, together with the Anchor
properties, give you a lot of flexibility.
Tom Clement
Apptero, Inc.
 
Back
Top