I have added a listview control to the form
the line
listview1.items.add("item1")
adds the item1 to the end of the list. I want to add it to the top of the list.
If I use the insert method as under, there is a problem :-
listview1.items.insert(1,"item1")
it inserts the item1 at the first position , but clicking on the check box against it now controls the previous item that was at that position ! so although the item got inserted but somehow the links are still not correct !
how can I set it right ?
thanks in advance
ni****h
the line
listview1.items.add("item1")
adds the item1 to the end of the list. I want to add it to the top of the list.
If I use the insert method as under, there is a problem :-
listview1.items.insert(1,"item1")
it inserts the item1 at the first position , but clicking on the check box against it now controls the previous item that was at that position ! so although the item got inserted but somehow the links are still not correct !
how can I set it right ?
thanks in advance
ni****h