Moving Focus in Winforms

  • Thread starter Thread starter Robert Boudra
  • Start date Start date
R

Robert Boudra

I want to use a single event procedure in Vb.net to move the focus on a
WinForm to the next control in the tab order, regardless of which control
that is. I know that I can use the "handles" keyword to have the same
procedure called when events occur on different controls. However, I don't
know how to tell the procedure to jump to the next control in the tab order.
In VB6, I used SendKeys Tab to do this, but this doesn't seem to work in
Vb.net.

Thanks,

Bob
 
Back
Top