Editing ‘subitems’ within a listView.

haroldjclements

Freshman
Joined
Jun 13, 2004
Messages
46
Does anyone know how you can edit the subitems of the listView in the same way as you can the items text labels (this first item in the row)?

Setting the LabelEdit property to true only effect the main item labels of the row not any of the subitems.

Thanking you in advance,
Harold Clements
 
Visual Basic:
Me.ListView1.Items(0).SubItems(0).Text = ""

Where :
Items(0) is the index of the item in the listview
Subitems(0) is the index of the subitem in the item
 
Thanks very much, Stustarz, but that’s not quite what I am trying to get at (or I have completely misunderstood). When you use the LabelEdit property you can double click the desired line in the listView and it will allow you to edit the label row data but not any of its subitems.

I was wondering whether there is a way that you can edit these subitems without having to create a new form and getting the user to input the changes there.

Thanks again,
Harold Clements
 
Back
Top