Moving Focus in Winforms

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
 

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

Top