I have a rather heavy task that takes a few seconds for the message thread to carry out so I wanted to put up a progress bar for the user. I don’t want it to be a modal window (like the ThreadWithProgressWindow), instead I’d like it to be built into my UI. Before this heavy task starts I make the progress bar visibile and then carry out the task, while updating the ProgressBar’s variable along the way. But it doesn’t update it until AFTER the heavy task is complete. I searched around the forum and found an OLD post (2007) in which Jules, you posted this anwer:
I looked at the MessageManager class, and that method is no longer available. Is there a replacement method I’m not seeing, that will serve the same purpose? I tried runDispatchLoop and that just froze the program. I also tried runDispatchLoop, followed by stopDispatchLoop, but that too froze the program.