Did you try to set Active = false?
Bruno, Yes, but Active := True resets the ElapsedTime value to Now and begins from zero again.
{Code}
procedure TVrClock.SetActive(Value: Boolean);
...
if FActive then
begin
ElapsedTime := Now;
...
{End Code}
We'll add two public methods:
StartTimer;
StopTimer;
with which you will be able to do this.
Bruno:
Will you do this?
I appreciate your help.
Regards
Francisco Alvarado
This will be in the next release.
I just did it myself, would you like me to send you the source code?
It is internally already added, there is no need to send this. It will be included in the next release.