clarkcovey
Registered User.
- Local time
- Today, 03:13
- Joined
- Jul 30, 2014
- Messages
- 20
Currently, I have a navigation form with buttons on the top and left. One of the buttons on the top has approximately 15 corresponding buttons on the left. Each of the corresponding forms need to be processed in sequence.
I was asked to add a "Next" and "Previous" button to each screen as well as set the active button with a different color than the rest.
The "Next" and "Previous" buttons work fine, each setting the source object and focus accordingly.
Each of the navigation buttons have the "Pressed Color" and "Pressed Fore Color" set to a different color. For example, the standard color of the button is Black with White text. The Pressed Color become White and the Pressed Fore Color becomes Black.
Clicking on the default, built-in, navigation buttons will activate the color changes; however, the "Next" and "Previous" buttons do not change the "selected" button. Four hours of research and attempting various commands is frustrating. :banghead:
My primary form is "Adjuster Dashboard" and the subform is "NavigationSubform."
On the following lines, I set the source object to form "Reported Data" and set the focus to the corresponding button. The focus places the dotted line around the selected navigation button.
Forms![Adjuster Dashboard]!NavigationSubform.SourceObject = "Reported Data"
Forms![Adjuster Dashboard].[navBtn_ClaimReview_Reported].SetFocus
I've tried programmatically resetting the color using the "BackColor" and "ForeColor" properties but it didn't work, which is why I am assuming it has to do with the "selected" or "clicked" navigation button.
How can I trigger the "click" event which, if I am correct, would activate the source object, the button focus, and reset the color?
Thank you in advance!
I was asked to add a "Next" and "Previous" button to each screen as well as set the active button with a different color than the rest.
The "Next" and "Previous" buttons work fine, each setting the source object and focus accordingly.
Each of the navigation buttons have the "Pressed Color" and "Pressed Fore Color" set to a different color. For example, the standard color of the button is Black with White text. The Pressed Color become White and the Pressed Fore Color becomes Black.
Clicking on the default, built-in, navigation buttons will activate the color changes; however, the "Next" and "Previous" buttons do not change the "selected" button. Four hours of research and attempting various commands is frustrating. :banghead:
My primary form is "Adjuster Dashboard" and the subform is "NavigationSubform."
On the following lines, I set the source object to form "Reported Data" and set the focus to the corresponding button. The focus places the dotted line around the selected navigation button.
Forms![Adjuster Dashboard]!NavigationSubform.SourceObject = "Reported Data"
Forms![Adjuster Dashboard].[navBtn_ClaimReview_Reported].SetFocus
I've tried programmatically resetting the color using the "BackColor" and "ForeColor" properties but it didn't work, which is why I am assuming it has to do with the "selected" or "clicked" navigation button.
How can I trigger the "click" event which, if I am correct, would activate the source object, the button focus, and reset the color?
Thank you in advance!