Software Engineer, Equity Strategist, Polymath.
Prevent Adding Items to combobox
Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = ChrW(0)
End Sub
Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = ChrW(0)
End Sub
Leave a Reply
You must be logged in to post a comment.