set focus

G

Guest

I have a tabbed form that loads various subforms on the tabs
programmatically. At the end of a tab page, I'd like to move the focus to the
first control of the next tab. What's the syntax? So far I have:

Me!(firstcontrol of next tab).SetFocus

Thanks for the help!
 
J

John Nurick

To change tabs, increment or decrement the Value property of the
TabControl. Then set focus to the control you want.
 

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