I have a bound ToolStripComboBox. When a user types a value and hits 'Enter', assuming the entered value is an item in the ComboBox, this Sub should fire:
vb Code:
Private Sub tsbCmbMHSJob_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles tsbCmbMHSJob.SelectedIndexChanged FilterMHSJobDV() End Sub
The problem I'm encountering is that with the ToolStripComboBox when the user enters a valid value and hits 'Enter' nothing happens. If I enter the value, then tab to the next control and hit enter, it fires.
When I use the "SelectedIndexChanged" Event in a standard ComboBox, entering the value and hitting enter triggers this event.
How can I get the ToolStripComboBox to behave like the standard ComboBox?




Reply With Quote