Start New Discussion within our Software Development Community

How do you change the size of a listview when the number of rows grow when a different where select is commanded on textchange. I have a textchange on coustomer name which fills the listview with just the names that start with the letters as they are typed in, this bring up the listview with those customers. I would like to change the lenght of the listiew when the row count increases.

Can anyone give me a where to start on this.

>Listview size

I'm not quite following the problem. My understanding from your description is that you want to set height & width of listview control.

Is this what you mean,

Dim test As System.Drawing.Size

test.Width = 400
test.Height = 200
ListView1.Size = test

This will set the width to 400 and height to 200 on a listview

I hope this helps.


This article has been dead for over six months. Start a new discussion instead.