P
pvdg42
Working on a web project (academic example) for a beginning VB class where
there are four text boxes, each to hold four characters. I want focus to
shift automatically to the next text box when the user has entered the 4th
character in a given text box.
I'm trying to use the TextChanged event to make this happen, but it appears
as if the TextChanged event never fires? I thought it would fire each time
the user entered a new character so that a test could be made like...
If TextBox1.Text.Length > 3 Then
TextBox2.Focus()
End If
It muse be something basic I don't understand about events and web pages?
there are four text boxes, each to hold four characters. I want focus to
shift automatically to the next text box when the user has entered the 4th
character in a given text box.
I'm trying to use the TextChanged event to make this happen, but it appears
as if the TextChanged event never fires? I thought it would fire each time
the user entered a new character so that a test could be made like...
If TextBox1.Text.Length > 3 Then
TextBox2.Focus()
End If
It muse be something basic I don't understand about events and web pages?