Blocking progress bar

If you only need to disable action on a single window then you can add a container that is the same size as the window, make the background color semi-transparent and in the container’s mouseClicked event handler put the script “pass” so that it will handle and effectively ignore and mouse clicks.

Make the container visible before your long process starts and hide it when done.

4 Likes