Hello.
I am using Intraweb 15.2.20.
If I stop the timer and then start it again, then the timer does not start counting from the beginning, but ends the time that was not finished before the last stop.
IWTimer1.Enabled := false;
IWTimer1.Enabled := true;
// after assigning a value Enabled := true event OnAsyncTimer will occur in the interval 0.. IWTimer1.Interval
I tried like this:
IWTimer1.Enabled := false;
IWTimer1.Interval := 5000;
IWTimer1.Enabled := true;
However, that does not work either. The first actuation of the timer after these commands can be less than 5 seconds.
Is there a command to start the timer from the beginning?
I am using Intraweb 15.2.20.
If I stop the timer and then start it again, then the timer does not start counting from the beginning, but ends the time that was not finished before the last stop.
IWTimer1.Enabled := false;
IWTimer1.Enabled := true;
// after assigning a value Enabled := true event OnAsyncTimer will occur in the interval 0.. IWTimer1.Interval
I tried like this:
IWTimer1.Enabled := false;
IWTimer1.Interval := 5000;
IWTimer1.Enabled := true;
However, that does not work either. The first actuation of the timer after these commands can be less than 5 seconds.
Is there a command to start the timer from the beginning?