Registriert seit: 17. Mär 2010
Ort: Wien
1.027 Beiträge
RAD-Studio 2009 Pro
|
AW: Transfer time values
9. Jun 2010, 21:18
When timer 1 is started, you save the start time:
Timer1starttime := now;
When timer 1 is stopped:
elapsedtime1 := now - timer1starttime;
When timer 2 is started, again you save the starttime
timer2starttime := now;
When time 2 stops, elapsed time is:
elapsedtime2 := now-timer2starttime;
Total elapsed time is
totalelapsedtime := elapsedtime1 + elapsedtime2;
Geändert von mkinzler ( 9. Jun 2010 um 21:21 Uhr)
Grund: Delphi-Tags eingefügt
|