By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,505 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,505 IT Pros & Developers. It's quick & easy.

Automatic resizing of controls inside forms

P: n/a
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.
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

"Vaughn" <vo******@yahoo.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl...
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.

Nov 15 '05 #2

P: n/a
Tom
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.

"Vaughn" <vo******@yahoo.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl...
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.

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.