Is there an event that fires when any control on the form is clicked? If not there should be.
The idea is that the same procedure would run regardless of which control is clicked and use the ActiveControl property to modify the behaviour of the Sub. This would save adding an event to each control and save a lot of work on a form with a lot of buttons, like a virtual keyboard.
Sure the coding could be added to the module with a loop but a click anything event would avoid that.
BTW Detail On Click doesn't do it in case you are wondering.
The idea is that the same procedure would run regardless of which control is clicked and use the ActiveControl property to modify the behaviour of the Sub. This would save adding an event to each control and save a lot of work on a form with a lot of buttons, like a virtual keyboard.
Sure the coding could be added to the module with a loop but a click anything event would avoid that.
BTW Detail On Click doesn't do it in case you are wondering.