According to help:
If no row is selected SelectedRowIndex will be -1. If multiple rows are selected, SelectedRowIndex will be the index of the first selected row.
Assuming multiple rows selected in ListBox, vRowNumber being first selected row and that the following code works:
ListBox.Selected(vRowNumber) = False
should ListBox.SelectedRowIndex be updated and pointing to the next selected row?
My testing today shows that the SelectedRowIndex is not updated upon deselection of the row through the code. Is this a bug or a feature?
1 post - 1 participant