This question is locked. New answers and comments are not allowed.
I am having an issue with the drop down portion of the combo box staying dropped after a selection is made and the selectedIndexChange event is fired.
I am using the selectedIndexChanged event to pop up a input box asking the user to input a qty. The drop down is not hiding when a selection is made. It stays up in the way of the input box until the input box is completed.
Here is my code.
I am using the selectedIndexChanged event to pop up a input box asking the user to input a qty. The drop down is not hiding when a selection is made. It stays up in the way of the input box until the input box is completed.
Here is my code.
'Code for filing combobox.
drpModelNumber.AutoCompleteMode = AutoCompleteMode.Suggest
drpModelNumber.DataSource = oUnitsDT
drpModelNumber.DisplayMember =
"Part_Number"
'code for selected index
Private Sub drpModelNumber_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles drpModelNumber.SelectedIndexChanged
InputBox(
"Please Enter the Quantity", "Quantity", "", , )
End Sub
Any suggestions?