Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2012 Auto tab textbox for telephone number

$
0
0
I have three textboxes that I would like to auto tab once the numbers have been entered but stop at the last set of numbers of course.

I saw one example where it autofocuses to textbox number 2 but I couldnt find another one that goes to number three.

Code:

    If TextBox1.Text.Length = TextBox1.MaxLength Then
                TextBox2.Focus()
    End If


Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>