Hi,
I would like to programactically set a combobox back to the first item. Since the data in the combobox is dynamic, I can't just simply set the text to a value.
I've tried mycombobox.SelectedIndex = 0; - The code executes but it still displaying the previously selected item.
Any help would be greatly appreciated.
Thank you,
[UPDATE]
Hi,
I'm writing in WinForms and this event is attached at a SelectedIndexChanged
for a different combination box. I thought it should work and I was doing it correctly, I'm just not sure why it's not. Maybe I need a call to Application.DoEvents()
; ?
[/UPDATE]