set focus

S

smk23

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