Delphi Tip – FMX Update a progress bar within work loop.

3 Responses

  1. Since writing this work-around on my blog, I’ve encountered the blocking thread issue again and adjusted the code. A better strategy is to place your work within the TTask, and then call TThread.Synchronize() to update the UI. I used this technique in my video series “Brutally Roll Your Own Backend – Part 8” which can be found here http://chapmanworld.com/2016/07/14/brutally-roll-your-own-backend-part-8/ (skip to around 42-43 minutes in).

Leave a Reply