I have tried with a TStatusBar to show the progress of an image processing function. It should display the number of the image that is being processed. The thing is that it does not update nor show any text until everything is over.
As it was the only thing I needed a TStatusBar and did not work as I expected, I replaced it with a TEdit, but I get the same.
It is something like this:
for Num:=1 to High(Imagenes) do
begin
Edit1.Text:='Imagen '+IntToStr(Num);
Procesa(Imagenes[Num]);
end;
I only get the number of the last image in the array, and that once the loop has finished.
How can I force the TEdit to update before executing the next line?