1
這裏我有動態創建基於鍵文本框中單擊如何跳到光標移到下一個文本框上輸入按鍵
所以當我有我的第一個文本框光標,當我按鍵輸入按鈕,它應該跳轉到下一個文本框。我怎樣才能做到這一點
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim count As Integer
Dim textbox As New TextBox()
count = Panel1.Controls.OfType(Of TextBox)().ToList().Count
textbox.Location = New System.Drawing.Point(60, 25 * count)
textbox.Size = New System.Drawing.Size(80, 20)
textbox.Name = "textbox_" & (count + 1)
Panel1.Controls.Add(textbox)
End Sub