Mouse events changing the background color of labels
Posted on 2011-09-09
I have some column headers on a continous form subform that when they are clicked on, it changes the sort order of the subform. Pretty basic.
I would like to improve upon how they appear to the user. What I have seen done, and would like to do, is have the background color of the label change when the mouse hovers over it. I know how to make the color change, but I struggle with how to change it back. In other words, if the back color of the label is white, I would like to change it to blue when the mouse is over it...then change back to white when the mouse leaves and hovers over another header which would then change to blue, etc, etc..
I can get it blue, but then it stays blue and I am not sure of what the customary way is to 'reset' it (change it back to white...)