Automatically Move Cursor from One Textbox to Another

前端 未结 6 1320
-上瘾入骨i
-上瘾入骨i 2021-01-03 06:03

I am making a Web application that validates passkeys and displays some values there are four passkeys for a file to be entered Validate it, I am entering the passkeys just

6条回答
  •  余生分开走
    2021-01-03 06:18

    Use the TextBox.Focus() method on the next TextBox. Use the first TextBox's TextBox.TextChanged event to test if focus should be changed and to call the Focus method on the next TextBox.

提交回复
热议问题