Problem with listview multi selection
Posted on 2003-11-10
I would like to ask 2 question regarding listview.
Firstly, let's say i have a listview name lvwProduct, how do i programatically make a row in listiview being selected and highligted as well, possibly set the color of the highlight as well if feasible.
Secondly, after i set the property of listview to enable multi row selection, I would like to get the key with lvwProduct.selectedItem.key, but it always return me the last item in my selection. I would like to delete all the selected item, but i just can't get all the selected item's key. It supposed to be an array rith? what is the syntax?