Progress Bar

I would like to use a progress bar to show the user that something is happening. I’m opening up and reading a slew of files, and this takes about five seconds. As I rip through the files, I would like to update the progress bar accordingly.

How would I go about this? I have looked at the invokeAsynchonous function, but I don’t see how I would get feedback back to the progress bar on each file iteration. In wxPython, I use the wxYield function; is there something similar I can use in FPMI?

Sure, you can have a function that you run using invokeAsynchronous, and pass to it a reference to a progress bar component. Then use invokeLater’s to update progress bar (updates to the progress bar shouldn’t come directly from a background thread - invokeLater’s will get processed on the GUI thead)