When looping through a list box w/ checkmarks as follows:
for i=0 to list1.listcount-1
list1.selected(i)=True
next
the checkmarks are clicked on correctly, but depending upon the previous state of the list items, some of the list items themselves are highlighted. The list items that are highlighted appear to be random (at least I don't see the pattern). This also occurs when deselecting the list items (list1.selected(i)=false).
I'd like to be able to set the checkmarks on/off w/o causing the list items themselves to be highlighted.
Can someone tell me how to do this?
Thank you
Lenny Harris
for i=0 to list1.listcount-1
list1.selected(i)=True
next
the checkmarks are clicked on correctly, but depending upon the previous state of the list items, some of the list items themselves are highlighted. The list items that are highlighted appear to be random (at least I don't see the pattern). This also occurs when deselecting the list items (list1.selected(i)=false).
I'd like to be able to set the checkmarks on/off w/o causing the list items themselves to be highlighted.
Can someone tell me how to do this?
Thank you
Lenny Harris