You could do something similar to the following.
private void textBox1_TextChanged(object sender, System.EventArgs e)
{
if (this.textBox1.TextLength == this.textBox1.MaxLength)
{
this.SelectNextControl(this.textBox1, true, true, true, true);
}
}
--
Tim Wilson
..NET Compact Framework MVP
"Mike L" <Ca***@nospam.nospam> wrote in message
news:9D**********************************@microsof t.com...
When the max length of a text box has been reached, I want the focus to go
to the next control based on tab index. How do I code or what property do I
set?