Your application must do some work which blocks the main thread, and your progress indicator does not update until the job is done. Under windows you might have introduced “Application.ProcessMessages()” but this is not cross platform and can cause serious performance problems under FMX. What can you do about it?


[ Continue Reading ]

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy.

Start Free Trial   Free Delphi Community Edition   Free C++Builder Community Edition   Upgrade Today  

No Data
  • My earlier post seems to have been cut off. The code was: procedure TForm23.RunInITask(Sender: TObject); var incTask:ITask; begin ProgressBar1.Value:=0; incTask:=TTask.create(IncrementBar); incTask.Start; incTask.Wait(); while ProgressBar1.Value
No Data