VB Code:
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyCode = 13 Then ListBox1.Items.Add(TextBox1.Text) TextBox1.Text = "" End If End Sub
|
Results 1 to 10 of 10
Threaded View
|
Click Here to Expand Forum to Full Width |