Welcome! Log In Create A New Profile

Advanced

WINDEV - Run procedure in the background

Posted by PETER ZHOU 
PETER ZHOU
WINDEV - Run procedure in the background
December 11, 2025 08:46AM
Hi,

I have a dashboard which takes a while to load in WINDEV.

How to let it run in the background and not affect user interacting with the application ?

I have try using ExecuteMainThreadAsynchronous() to load the dashboard but it didn't allow me to click on any of the application menu till the dashboard is loaded completely.

Regards,

PETER ZHOU
PETER ZHOU
Re: WINDEV - Run procedure in the background
December 16, 2025 08:55AM
PETER ZHOU Wrote:
-------------------------------------------------------
> Hi,
>
> I have a dashboard which takes a while to load in
> WINDEV.
>
> How to let it run in the background and not affect
> user interacting with the application ?
>
> I have try using ExecuteMainThreadAsynchronous()
> to load the dashboard but it didn't allow me to
> click on any of the application menu till the
> dashboard is loaded completely.
>
> Regards,
>
> PETER ZHOU

Sorry, anybody know of a solution ?

Regards,

PETER ZHOU
Al
Re: WINDEV - Run procedure in the background
December 16, 2025 09:44AM
Hello Peter,

I don't have the answer, but may be the profiler can show you exactly where the delay is occurring. It may not be the dashboard itself but a procedure you are running to collect data for the dashboard.

Regards
Al
Herbert
Re: WINDEV - Run procedure in the background
December 17, 2025 07:48PM
If your data collection is in a loop, as AI above mentiones, then insert there within this loop the multitask funtion with a negative number e.g. "Multitask(-3)". this allows the system to accept other things. Slows down the buliding of your dashboard but is useful for your request.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: