Anyone know of any examples or suggestions on how to implement a
stopwatch feature? Ultimately I want a visual countdown from 20 seconds
to 0 which can be stopped by the user at (say) 12.5 seconds and restart
with 7.5 remaining. Can't see it can be handled by Timer functionality.
Any suggestions gratefully received.
Regards,
Paul Doody
Technical Analyst
Bull Information Systems (UK)
Paul....@Bull.Co.UK
You can implement a stopwatch without writing a single line of code by using
a datawindow.
But I think that's only good enough at the seconds level. Not for
milliseconds.
Geert 'Darling' Van Damme
Paul N. Doody wrote in message <362BE8...@Bull.Co.UK>...
Of course you can use the timer for this. Only thing is that you must keep
track your self of the time to go. Use a timer for say 0.1 seconds. In the
timer event, check if the 'stop' button is pressed and if so, save the
remaining time. If it is not pressed, check if the remaining time reaches 0
and if so, stop the timer.
HTH
--
- Eric Aling [TeamPS], Cypres Informatisering bv, The Netherlands
Eric's Home & PB Site @ http://utopia.knoware.nl/users/cypr115
Paul N. Doody <Paul....@Bull.Co.UK> wrote in message
362BE8...@Bull.Co.UK...
Take Care
Mark
Paul N. Doody wrote in message <362C75...@Bull.Co.UK>...