1.11M Members

Listview size

 
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.

 
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

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article