G
Guest
Hi all,
i have found something odd...when a combobox is not selecting the first value (or ComboBox1.SelectedIndex > 0) and your code executes
ComboBox1.SelectedIndex = -1
it will select the first the value (.SelectedIndex=0) instead of deselecting all values. if you want to make the combobox deselect the first value, you must execute the same line of code again.
maybe i'm missing something, any thoughts?
Thanks in advance,
Kunkel
i have found something odd...when a combobox is not selecting the first value (or ComboBox1.SelectedIndex > 0) and your code executes
ComboBox1.SelectedIndex = -1
it will select the first the value (.SelectedIndex=0) instead of deselecting all values. if you want to make the combobox deselect the first value, you must execute the same line of code again.
maybe i'm missing something, any thoughts?
Thanks in advance,
Kunkel