[RESOLVED] [2005] changing content of selecteditem in a listbox??
i have a listbox in which i add object "myobj" in the listbox.. i want to replace the object of selecteditem...
i tried
VB Code:
list1.selecteditem=new myobj(1,"hello")
but this doesn't do anything
Re: [2005] changing content of selecteditem in a listbox??
i used list1.items.item(list1.selectedindex)=new myobj(1,"hello")
instead and it's workin..
p.s. lol almost each time recently when i post here, i immediately gets the answer afterwards by myself lolz... this forum must be a source of inspiration :)