Changing button image in toolbar causes text to change
I've been assigned a VB6 issue that I can't recreate locally. A handful of clients are reporting that the text on their Toolbar buttons changes randomly. Below is a video one of the clients sent, illustrating the issue:
If you notice the exclamation mark icon, it's changing color as the button text changes. There's a timer in the app which changes the button's image. I suspect this is somehow linked to the issue, but an stymied as to why.
Here's the code behind the timer:
Select Case tblMain.Buttons("UserLog").Image
tblMain.Buttons("UserLog").Image = "UserLogOff"
tblMain.Buttons("UserLog").Image = "UserLogOn"
tmrUserLog.Interval = 1000
The timer is named tmrUserLog. It gets enabled when theirs a message for the user.
Like I said, I'm stumped. Why would the text be changing on the buttons, and why for just a few users?
Thanks for any feedback!