0

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.

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by NeilClayton
0

>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.

0

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.

Neil

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.