Progress Bar on WST SOAP call lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- lainz · 2022-03-03 13:31 Hi, we're using the WST plugin to make SOAP calls. The problem is that the program does not respond during the call and we need to display some progress bar. That's possible without using threads, if possible without changing too much code. Thanks. ---------------------------------------------------------------------- winni · 2022-03-03 16:56 Hi! If your calls are synchronos and blocking the whole app I see no chance. But anyway you could try this: User a timer an do this Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.Timer1Timer(Sender: TObject);begin  ProgressBar1.position := someValue;  Application.ProcessMessages;end; I know that there are situations where even the execution of the timer is blocked. But you can give it a try. Winni ---------------------------------------------------------------------- lainz · 2022-03-03 21:00 Thanks winni I've tried your code, but it does not work. I will need to do refactor and move to a thread to save this code.