>I am using the built-in digital stopwatch on a form. The problem is whenever I add code to the stopwatch, the stopwatch display does not update hours, minutes, seconds. It stays on 00:00:00.
>
>I have the start, stop and reset buttons working. But I am trying to add code so that when 1 minute passes I add a colored border around the stopwatch display. Then after another minute, I change the color of the border and so on.
>
>I added my code to the stopwatch updatedisplay event, refresh event, the timer event within the stopwatch container, but all of them freeze the stopwatch display on zeroes.
>
>Any idea where I can add my code?
>IF THIS.lblminutes = "01"
> THIS.BorderColor = RGB(255,255,0)
> THIS.BorderWidth = 2
>ENDIF
Dodefault()
The stopwatch timer event is probably written in the timer subclass you're using. The default behavior of the base class occurs each time, but the custom code in the parent class does not get called if you override the method. You have to call it yourself.