Hi There
Please help me to sort this problem out. i am using following lines to save listindex of combobox items to listview control but nothing is showing in listview. I need to store listindex in listview for editing purpose.
Thanking u in anticipation
Raj
For cbit = 0 To CboItems.ListCount - 1
For edLv = 1 To LvEdt.ListItems.Count
If CboItems.List(cbit) = LvEdt.ListItems.Item(edLv).SubItems(2) Then
LvEdt.ListItems.Item(edLv).SubItems(20) = CboItems.ListIndex
Exit For
End If
Next edLv
Next cbit
Please help me to sort this problem out. i am using following lines to save listindex of combobox items to listview control but nothing is showing in listview. I need to store listindex in listview for editing purpose.
Thanking u in anticipation
Raj
For cbit = 0 To CboItems.ListCount - 1
For edLv = 1 To LvEdt.ListItems.Count
If CboItems.List(cbit) = LvEdt.ListItems.Item(edLv).SubItems(2) Then
LvEdt.ListItems.Item(edLv).SubItems(20) = CboItems.ListIndex
Exit For
End If
Next edLv
Next cbit