Thanks for solving my previous problem. Currently I am stuck with the behavior of a listbox. The listbox has multiple extended selection. I also have a couple of navigation buttons to move the current selected item up and down. With single selection this works fine by using .selectedIndex and changing it.
.selectedIndex does not seem to work when the selection mode is multiple. The .selectedindices collection is readonly. The only way I can get it to work is to change the selection mode to single and back again. This causes the listbox to flicker and re-write itself so that is not practical.
Any suggestions much appreciated