Updating Progress Label During Long Calculation in Start

I have a loop and a 10-second pause for calculations in Start.
I run it inside WaitForRenderAndCall.

I also have a label to display the progress percentage. But since the Update event is not called, I tried to update the display using LabelPercent.Render;, but it didn’t work.

What is the solution for this?

Additionally, on Android this causes an “Application Not Responding” (ANR) warning.

We used to have a way to display a loading screen while loading resources, but @michalis removed it. This thread’s discussion may interest you Show a loading progress using external dll - #5 by michalis

If the calculation is not related to loading resources from disk, then you should move it to Update.

Thank you for your answer. I found that topic while searching, but using a DLL is not possible on multiple platforms.

In Windows, there is Application.ProcessMessages for this purpose, or the option to run the process in a separate thread. However, this is almost not possible in CGE because the UI is updated in Update.