Oops, suppose I should read all of the question.
>the user has to actually click on the actual page, not just the tab, for the event to be fired.
Just clicking on the tab fires the TabControl_Change event fires, with the value of Me.TabControl being whatever the PageIndex is of the tab the user clicked.
I haven't experienced in any version of Access where the user has to click on the tab, then the page, for the TabControl_Change event to fire. If there was a subform on the tab, then when clicking on the tab THAT subform's OnFocus event would fire.
Just out of curiosity, what code are you trying to run in the TabControl_Change event?
Hope this helps.
-Jim
Main Topics
Browse All Topics





by: jimhornPosted on 2007-02-22 at 15:37:16ID: 18592611
Use the Tab_Change event to run code when the user clicks on a different tab.