Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with stopwatch
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with stopwatch
Miscellaneous
Thread ID:
00245287
Message ID:
00245287
Views:
40
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

Thanks for all of your help.

Steve Kramer
Home of GO Cartoons
http://members.aol.com/gocartoons
Over 240 off-the-wall, original cartoons with thumbnails.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Next
Reply
Map
View

Click here to load this message in the networking platform