My Listview controls are resizing themselves

awdigrigoli

Member
Joined
Mar 30, 2005
Messages
12
Programming Experience
5-10
I am having a time with the listview control. No matter what I have tried to keep the control at a specific height and width, it grows whenever I make a change to the form.

How can I ensure that the dimensions of the ListView are locked?
 
Check into the Dock and Anchor properties, they define various sizing behaviour.
 
Thanks for the suggestion. I looked at the dock properties and found the problem was solved when I set the size of the form 10 1036, 760 and the list view to 1008, 272. No reason for the exact numbers other than that is waht I decided to use as a default. I'm glad that a solution was found, but I am a little discouraged that I can't programmatically explain it.

Any ideas?
 
Back
Top