set focus

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
To change tabs, increment or decrement the Value property of the
TabControl. Then set focus to the control you want.
 
Back
Top