This is because the ListBox still doesn’t have the focus. To force focus on the listbox, call it’s Focus method after changing selection on it as follows:
this.myListBox.Focus();
This is because the ListBox still doesn’t have the focus. To force focus on the listbox, call it’s Focus method after changing selection on it as follows:
this.myListBox.Focus();
Share with