Tab Order for a Tab Control

P

Pope

I'm am trying to get my tab control to tab automatically
from one tab to the next when it reaches the end of a
page. It currently tabs to the next record. I need it to
tab to the next tab of the tab control.
Any help would be appreciated.
Pope
 
G

Guest

Go into Properties for the last field on the tab and
select the Event tab. For the "On Exit" option, create an
Event Procedure. Use the following:

Private Sub Comment_Exit(Cancel As Integer)
Problem_Rpt_Date.SetFocus
End Sub

FYI - Comment_Exit is the last field on my first tab,
Problem_Rpt_Date is the first field on my second tab.
Fill in your fields appropriately to get the tab order to
move from tab to tab in whichever order you would like.
Hope this helps.

Lori
 

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