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
Yes, that should be fixed in HTML Executable 2024.2.
1 Like
denral
October 26, 2024, 8:57pm
5
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.
Issue fixed in version 2024.2. Beware, the StartTimer was restored to the old state, it now requires a timer name. Several timers can now be defined too.
Thank you.
1 Like