I’m trying to highlight a button on a toolbar using VB based on information on a form.
This would be similar to how the Justification (Left/Center/Right) on the formatting tool bar works, when a field is selected. I have tried SetFocus, but this does not work as it moves the focus to the button and once the user goes back to the field, the button is no longer highlighted.
Also Enabled is not good ether as the button must always be enabled.
Does anyone have any ideas?
This would be similar to how the Justification (Left/Center/Right) on the formatting tool bar works, when a field is selected. I have tried SetFocus, but this does not work as it moves the focus to the button and once the user goes back to the field, the button is no longer highlighted.
Also Enabled is not good ether as the button must always be enabled.
Does anyone have any ideas?
Code:
CommandBars ("EditView").Controls(11).????