AFAIK
There are no keyboard events for a tab control page. It's the pages you want to navigate, not the tab control. Your post title is confusing as well. The form isn't tabbed - it contains a tab control. The control has pages. God only knows why it's not a page control, or has "tabs" if it's a tab control. It was bad enough; now there is a navigation control with tabs and a tabbed view for forms - with or without the tabs!!
AFAIK
There are no such keyboard events for a page that will work unless the page has controls that can take the focus. It will accept Tab key; I don't know what else.
I think you would have to
- have a control on a page that can take the focus and if e.g. key press is Tab key, get the active page property
Code:
Property Get ActivePage() As Access.Page
With Me.TabCtl0
Set ActivePage = .Pages(.Value)
End With
End Property
- call the function in that keypress event and get the page name and Case Select to the next tab while dealing with which way to go when you get to the rightmost page. Then set focus to a control on the new page. It could be transparent, no border and maybe even zero width so that it's not obvious, but you will see the cursor flashing.
OR
You could use a mouse like the Almighty M$ planned.
Last edited by Micron; 02-28-2019 at 12:34 AM.
Reason: clarification & added info
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.