Timer not working

Using HTMLExecutable 2024
24.1.0

The command reference for StartTimer says you cannot use a name anymore and so it only accepts a value that is a blank string.

So,using the StartTimer command used as follows:
StartTimer(“”,1000);

The OnTimer event never runs:

function OnTimer(TimerName: String): Boolean;
begin
MessageDlg(“Message”,“HERE!”, mtInformation, [mbOK]);
Result := False;
end;

We’ll take a look at this issue. Thank you for the report!

1 Like

Did you find anything?

Yes, that should be fixed in HTML Executable 2024.2.

1 Like

Will the fix work with the TimerName parameter too? Otherwise you can only use one timer right?

It’s on the TODO list and I suppose that the main dev will make it working too.