I have a Winforms application with a combobox with its DropDownStyle
set to Simple
.
When I call this.InputComboBox.Items.Clear()
, it moves the text insertion cursor from wherever it is to the beginning of the input box, although the text contents is unchanged. Why is this happening, and can I prevent it?