So I have a toolbar (toolbar1), with 10 buttons, all in a button group.
When the form loads, I set the first button to be press: toolbar1.buttons(1).value = tbrPressed
I have a menu that selects different buttons on the toolbar and sets the status.
If I run the program, and use one of the menus (or menu shortcuts), I end up with button 1 pressed and whatever button the menu points to is also pressed (it should just be the one the menu selects).
This only happens if you don't click the toolbar with the mouse first.
What is causing this? I've tried calling the _buttonclick routine and the _mousedown routine, but nothing seems to work.
Any ideas?
When the form loads, I set the first button to be press: toolbar1.buttons(1).value = tbrPressed
I have a menu that selects different buttons on the toolbar and sets the status.
If I run the program, and use one of the menus (or menu shortcuts), I end up with button 1 pressed and whatever button the menu points to is also pressed (it should just be the one the menu selects).
This only happens if you don't click the toolbar with the mouse first.
What is causing this? I've tried calling the _buttonclick routine and the _mousedown routine, but nothing seems to work.
Any ideas?