Hi,
I have a Form with a panel which has multiple Text Box Components.
I'm trying to find a way for the user to jump between the Text Boxes
without using a mouse, or more simplisticly, jump to the next Text Box.
Other posts (Google link below) suggest there isn't a built in way to
capture tab-press events, so I have tried the following:
private void txtNameFirstName_TextChanged(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == 13)
{
txtNameLastName.Focus();
}
}
How do I get this method to be actioned on the event "_TextChanged". I
guess a more generic question is how can I assign a method to an event?
Regards,
Joe.
http://groups.google.co.uk/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/bed5c0fea67018a5/bcc28ce73d5d3976?q=text+box+event+tab&rnum=2&hl=en#bcc28ce73d5d3976