What do you mean with tagging? Selected?
|
.NET
Check if listview item is tagged |
(Oct 14, 2014 11:41 AM)ElementalTree Wrote: Uh yeah so you remember, then i can explain it a little better. I get the episodes into the listview right, and if the top 3 items matches any of the items in another listview it displays a message saying that this/these episodes have released. Now after this refreshes again and one of those items are still in the top 3 it keeps showing the message over and over until new episodes gets released and replaces the top 3 items. I want it to like check these items after showing the message once so it wont repeat. My first thought would be placing the code in the SelectedItemChange for the listview, but not so sure if its going to work out. Have you tried to google your problem? (Oct 14, 2014 12:29 PM)ElementalTree Wrote: Yeah alot of times actually, didn't find one that fit my problem Also instead of using .Contains when you check if the items exist in another listbox do it like this Code For Each item In ListBox1.ItemsWrote this from my phone but it should work.
Well there is not much difference from my code than yours actually rather than yours checking if a string contains another string.
ie if checking if "dog" exists in "crack baby dog" it will return true (your code) My code will check if a string is identical to another string. I dont see any problem sticking with your current code for the checking though. |
|
|
