FMX Messages must be shown in the main ui thread

  

In form1 I use TTask in last task I call function from other unit DisplayMe who is return alert msg!

After debug get Messages must be shown in the main ui thread

tasks[2] := TTask.Create (procedure ()
begin
sleep (8000);
DisplayMe(‘MSG’);
end);

Comments are closed.