I have a problem clearing the selected items fom a list box (MultiExtended). I have tried with:


but nothig happens. When I loop and use GetSelected(x) and then RemoveAt(x) if GetSelected(x) = True I can remove selected items but only one by one. Can anybody please explain why listboxName.SelectedItems.Clear() is not working and show me the best and easiest way to clear all items that are selected on a list box by one click on a button?

Thanking you in advance