how to add or type text in Listview Control

I want to add text in Listview's Column by click on that particular Column and Row...
Please tell me it is possible in listview
[141 byte] By [praviharsh] at [2007-11-20 11:23:47]
# 1 Re: how to add or type text in Listview Control
Although you can easily enter data in the first column, which is the listitems(i).text using the labeledit function (click on it and enter new data) It seems not possible to do that in the other columns.

You could do that with a selfmade facility:
Create a second form which contains as many input TextBox controls as you have columns.
In the ListView you can decide:
On a ItemClick() event you feed the contents of the columns to the forms TextBoxes, Show the Form vbModal to let the user edit the data and then feed the data back to the columns of that particular row.
If the click fell on an emty line, you react in the Click() event, present the form vbModal, too, but with empty fields, let the user enter data and then create a new ListView item and feed the input to the Item().Text and to the .Subitems() which are the columns.

But maybe another control, like the MSFlexGrid provides more of the possiblities you want.
WoF at 2007-11-9 19:33:25 >