Feb 4, 2009 #1 markhkram IS-IT--Management Dec 30, 2008 32 US Anyone know how to change the currently selected item in a listview from image 0 to image 1 (images in an image list)? All without having to reload the contents of the listview? Thanks
Anyone know how to change the currently selected item in a listview from image 0 to image 1 (images in an image list)? All without having to reload the contents of the listview? Thanks
Feb 4, 2009 #2 mansii Programmer Oct 18, 2002 641 ID Would Code: ListView1.SelectedItems(0).ImageIndex = 1 do the job? Upvote 0 Downvote
Feb 5, 2009 Thread starter #3 markhkram IS-IT--Management Dec 30, 2008 32 US Thanks, that worked great if I only select 1, but if I select more than one, it only changes the 1st one I selected... Any idea on how I can change it for multiple? This will at least get me started if you don't... Thanks! Upvote 0 Downvote
Thanks, that worked great if I only select 1, but if I select more than one, it only changes the 1st one I selected... Any idea on how I can change it for multiple? This will at least get me started if you don't... Thanks!
Feb 5, 2009 Thread starter #4 markhkram IS-IT--Management Dec 30, 2008 32 US Nevermind on the multiple selected, I figured it out. Just used a variable (i) that counted through a loop. ListView1.SelectedItems(i).ImageIndex = 1 Thanks again! Upvote 0 Downvote
Nevermind on the multiple selected, I figured it out. Just used a variable (i) that counted through a loop. ListView1.SelectedItems(i).ImageIndex = 1 Thanks again!