I have a custom switchboard using forms that have simple application buttons to open other forms or reports. The only event for each button is a macro that opens the report or form, such as:
The problem is with the first button. The tab controls work as expected, changing the focus as the user tabs between the buttons. The focus, however, does not work with the mouse on the first button only. The mouse does change the focus of the other buttons, allowing the user to click on those buttons. It does not matter which form is set in the event of each button.
Interestingly, this problem does NOT occur on my "main menu" form, which has buttons that open the other custom-switchboard forms. I have checked the properties of all the settings for the forms and the respective buttons, but I cannot find any differences besides the form names called in the onClick event.
Even odder still, in all my attempts to resolve this problem, I've noticed that when switching from Design view to Form view, the first button does focus on mouseover UNTIL I change the focus using tab. Then the action disappears and the mouse can no longer focus on the first button. Simply closing and re-opening the form does NOT re-create what happens when switching from Design to Form view, nor does saving or not saving affect this.
I want to use the default mouseover properties...I'm not trying to change them. I just want it to work for all buttons. I've scoured this and other forums to no avail.
Any ideas?
Thanks.
Karen
Code:
Close(,,Yes)
OpenForm(Demographics,Form,,,Normal)
The problem is with the first button. The tab controls work as expected, changing the focus as the user tabs between the buttons. The focus, however, does not work with the mouse on the first button only. The mouse does change the focus of the other buttons, allowing the user to click on those buttons. It does not matter which form is set in the event of each button.
Interestingly, this problem does NOT occur on my "main menu" form, which has buttons that open the other custom-switchboard forms. I have checked the properties of all the settings for the forms and the respective buttons, but I cannot find any differences besides the form names called in the onClick event.
Even odder still, in all my attempts to resolve this problem, I've noticed that when switching from Design view to Form view, the first button does focus on mouseover UNTIL I change the focus using tab. Then the action disappears and the mouse can no longer focus on the first button. Simply closing and re-opening the form does NOT re-create what happens when switching from Design to Form view, nor does saving or not saving affect this.
I want to use the default mouseover properties...I'm not trying to change them. I just want it to work for all buttons. I've scoured this and other forums to no avail.
Any ideas?
Thanks.
Karen