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
 
Back
Top