|
-
Sep 16th, 2009, 04:45 PM
#1
Thread Starter
New Member
Stopwatch manipulation
Hi all,
I have an application that has several stopwatches.
I would like to be able to 'sync' a stopwatch with another at any given time.
I tried setting the Elapsed time of one stopwatch to that of another stopwatch but I get that that property is 'read only'
Is there a way to do this?
Thanks in advance,
Major
-
Sep 16th, 2009, 08:56 PM
#2
Re: Stopwatch manipulation
Stopwatches are for measuring time only. They tell you how much time has elapsed, not the other way around. If you want to sync two Stopwatches then you have to reset them both. You can always then add an offset to each of them. Perhaps you could explain EXACTLY what you're trying to achieve.
-
Sep 17th, 2009, 09:05 AM
#3
Thread Starter
New Member
Re: Stopwatch manipulation
 Originally Posted by jmcilhinney
Stopwatches are for measuring time only. They tell you how much time has elapsed, not the other way around. If you want to sync two Stopwatches then you have to reset them both. You can always then add an offset to each of them. Perhaps you could explain EXACTLY what you're trying to achieve.
What I originally wanted was the ability to have one clock running and at a certain point get another clock to sync up with that time. i.e. One runner runs for a minute and then another runner jumps in and continues from that minute. The clock one stops and the clock two continues on starting from that minute.
I have accomplished this by just filling in the clock2.text from the elapsed time of stopwatch1. It adds a few more areas for error if I don't set them back the correctly but it works.
Thanks for your help,
Major
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
|