Hi,
I found this in the internet to add values to a combobox:
but the question is now, how can I remove this by marking/ touching with mouse one value and click on the keyboard "del"?
Thx
Stephan
I found this in the internet to add values to a combobox:
VB.NET:
Private Sub ComboBox_Matricula_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox_Matricula.KeyPress
If e.KeyChar = Chr(Keys.Enter) Then
ComboBox_Matricula.Items.Add(ComboBox_Matricula.Text)
ComboBox_Matricula.Text = Nothing
End If
End Sub
but the question is now, how can I remove this by marking/ touching with mouse one value and click on the keyboard "del"?
Thx
Stephan