Software Engineer, Equity Strategist, Polymath.
Prevent Adding Items to combobox
[codesyntax lang=”vbnet” lines_start=”1″ capitalize=”no” highlight_lines=””]
Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = ChrW(0)
End Sub
[/codesyntax]
Comments are closed.