I have a navigation control w/ several navigation buttons. When the user clicks a Nav Button the button has specific formatting to indicate it's pressed. However, sometimes I need to "navigate" the Navigation Subform, or switch tabs, from my subform and not by clicking the nav buttons directly. I can do this but then the related nav button does not change to show pressed formatting. The nav "tab" I was previously on will still indicate being pressed. If I run my mouse over the nav buttons the hover events fire and then correct formatting is applied to the buttons. How to change the nav button to indicate pressed via vba?
I use the following code to "navigate" the navigation subform:
Code:
Private Sub cmdButton_Click()
DoCmd.BrowseTo acBrowseToForm, "frmJobDetails", "Home.NavigationSubform", "JobPK=" & Me.JobPK
End Sub