Topic: Counter for the elapsed time
Hi all,
I would like to create a form with a few datetimepicker (which will show the actual time). In a textfield there will be written an extra time (in minutes or hours).
What i want is that on the form to have a textbox for each datetimepicker which will count down the elapsed time.
Example:
datetimepicker 1 ==> Time : 20:00:00
Textbox1 ==> 2:30:00
Button ==> To start the counting
A textbox which has to contain: datetimepicker1 value + textbox1 value ==> 22:30:00
A textfield which will show the elapsed time until it will be 00:00:00 then the textfield will turn green, meaning that the time has passed.
How can I achieve this?
I've read something about TTimer, but I can't figure out how to make it work.
Thank you.
Best regards,
Alin
Alin