L
lord.zoltar
Hello
I'm trying to programmatically set a listbox to have several items
selected when it is loaded. Which items are selected is based on a
saved user setting.
Right now, I'm trying:
Me.my_ListBox.SelectedIndices.Add(item)
This throws exceptions.
What is a safe way to add indices to the SelectedIndices list?
I'm trying to programmatically set a listbox to have several items
selected when it is loaded. Which items are selected is based on a
saved user setting.
Right now, I'm trying:
Me.my_ListBox.SelectedIndices.Add(item)
This throws exceptions.
What is a safe way to add indices to the SelectedIndices list?