How do I simulate a tab event in code?

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I would like to trap TextChanged events and validate them for correct values
from values coming in from a pen panel. If the values are valid, I want to
automatically tab to the next control.

But.... How do I raise the tab event in software?
 
Bill said:
I would like to trap TextChanged events and validate them for correct values
from values coming in from a pen panel. If the values are valid, I want to
automatically tab to the next control.

But.... How do I raise the tab event in software?

You can set the SelectedIndex property of the TabControl as well.

Best Regards,

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top