Timer not working

denral

Member
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;
 
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.
 
Back
Top