Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
flashing button
posted

Hi,

I'm trying to create a flashing menu button using a timer.  In essence, the button has to flash five times to attract user's attention.

    If mnuMain.Tools("FlashMe").SharedProps.AppearancesSmall.Appearance.BackColor = Color.Red Then
      mnuMain.Tools("FlashMe").SharedProps.AppearancesSmall.Appearance.BackColor = mOriginalBackColor
    Else
      mnuMain.Tools("FlashMe").SharedProps.AppearancesSmall.Appearance.BackColor = Color.Red
    End If 

Above code works fine some times but it doesn't at other times.  What am I doing wrong?

Parents
  • 44743
    posted

    It is difficult to tell from just this snippet of code. If you post more code which shows how and when the timer is being enabled/disabled, I might be able to determine what the problem is.

Reply Children
No Data