Remove Item from ListBox?
Question
Is there any way to remove item from listbox based on it's name but not index value? I would like to remove item named "Mouse" (which index # changes all the time).
Solution
listBox.Items.Delete(listbox.Items.IndexOf('Mouse'));
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow