Hey! Does anyone have any suggestions or clever tips to prevent flickering of command buttons on mousemove events? I have a row of 12 buttons on a userform that I'm trying to make a bit more interactive. Yesterday I set all of these buttons to change backstyle to opaque and forecolor to a preset color on MouseMove. I coded this for all 12 buttons. To change the colors back, I've coded backstyle to transparent and forecolor to black for each button on the Userform mousemove, a few frame mousemoves, and some label and textbox mousemoves. This worked, but I noticed the buttons flicker on occasion...a little too much for my liking. I've determined this is most likely because I have so many mousemove events going on. Fortunately, or unfortunately considering I spent half a day coding all of this, I accidentally saved over all of my work I did yesterday so all of this coding was lost. Before I start re-coding all of this, I'd like to get a little input on the do's and don't of using mousemove events. Would adding IF statements in front of my code prevent flickering? I'm assuming it's best to use the mousemove event as minimal as possible here? Any guidance/input is welcome as I'm not too knowledgeable about this particular event.
Bookmarks