I have five labels and one button. I need to detect when the button is clicked the first time and the first label shows 00:00 (but time is running, however) and when the button is clicked a second time, label two show HOW much time has passed since the first click. (ex: 02:00). Then when they click again, the third label shows how much time has passed since the second click.(ex: 00:15) 3rd label is when a third click is started, but adds from the value of the 2nd click. Once we get that total, we wait until we get a forth click. The fourth click is the difference from label 3. But at the same time label 5 takes the beginning total of time of the procedure.
I'm found this much, but need help substracting, adding and totaling:
label1.caption := '00:00'
Label2.caption := IntToStr(StartWatch2.whour)+':'+IntToStr(StartWatch2.wMinute)+':'+IntToStr(StartWatch2.wSecond);\\can't figure out how to substract time here...
An example would be helpful...(my expert level with delphi is slightly above beginner).