Blog28.8K views4,016 votes0 replies4,394 following
Moving Blocking Work Off the Delphi UI Thread with TTask
Freeze-prone VCL form? Use TTask.Run from System.Threading to move blocking work off the UI thread, TThread.Queue to update controls safely, and learn the capture and exception pitfalls.