Does anyone know of a way to refresh the tab colors of a navigation control after using code to navigate to another tab?
I have code that switches to the first tab of a navigation subcontrol on my main form, but the pressed color on the previously selected tab and current tab do not refresh unless I mouse over them. Even though right tab opens correctly, the button colors don't change and it looks like previous tab is still selected/pressed. Here is the code I used:
DoCmd.BrowseTo acBrowseToForm, "NavigationTargetNameofTab1", "MainForm.NavigationSubControlName"
I have code that switches to the first tab of a navigation subcontrol on my main form, but the pressed color on the previously selected tab and current tab do not refresh unless I mouse over them. Even though right tab opens correctly, the button colors don't change and it looks like previous tab is still selected/pressed. Here is the code I used:
DoCmd.BrowseTo acBrowseToForm, "NavigationTargetNameofTab1", "MainForm.NavigationSubControlName"