Is there a way of updating the progress bar value without having to call application.processmessages?



When the main thread is not blocked, updating the progress bar value will repaint the progress. Are you updating the progress in a while loop, or from within a thread?

I am updating it from a Devart TUNIDump.UniDumpRestoreProgress event running in the main thread.

I have no idea what this method is doing, perhaps internally the method is called from another thread. To update the progressbar, or any other ui control, you need to synchronize UI updates with the main thread, by calling:


Ok, thanks. I have resolved this.