[SOLVED] How can I display message form while doing others? lazarus / 31-LCL ---------------------------------------------------------------------- egsuh · 2020-06-04 09:12 Is it possible to display a messagebox or form while processing something else, for example downloading a file from webserver, etc.? One way would be that the operation is done at the modal form itself, but I'm wondering there are other ways to do this. Actually I think this is something like asynchronised processing in javascript. ---------------------------------------------------------------------- egsuh · 2020-06-04 09:38 I solved this issue in following ways. 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 TfQEdit.MenuItem10Click(Sender: TObject);begin   if sd1.Execute then begin       msgForm.Label1.Caption := 'Downloading data... Please wait';       msgForm.BorderIcons := [];       msgForm.FormStyle:= fsStayonTop; // fsSplash;       msgForm.Show;       Application.ProcessMessages;       Qnnr.ExportData(sd1.filename);     msgForm.Hide;   end;   ShowMessage('Data saved');end;