-
January 31st, 2013, 04:51 PM
#1
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:
Code:
Select Case tblMain.Buttons("UserLog").Image
Case "UserLogOn"
tblMain.Buttons("UserLog").Image = "UserLogOff"
Case "UserLogOff"
tblMain.Buttons("UserLog").Image = "UserLogOn"
End Select
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!
Steve.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|