Hi, I have a procedure that downloads more than 60,000 records from a json server and I would like to show the update through the progressbar. I use this code:
for ... do
begin
if (Self.ProgressBar1.Progress mod 100)=0 then
begin
Self.ProgressBar1.Invalidate;
//Self.Invalidate;
end;
end;
But it does not work. I see the progressbar update only when it has finished the whole loop. How do I resolve?
Thank you