Forcing a form or screen to update/refresh
Author: firstname.lastname@example.org (e_darren)
I've had a look around the forums but not found anything that looks related. This is my first post and I'm a relatively inexperienced Uniface developer, so go easy on me please!
During a proc which takes some time to complete, I'd like to update a status/progress bar on the form. As I couldn't find a Uniface progress bar widget, I'm using a an OXC widget called Microsoft ProgressBar Control painted directly onto the form. Although I am updating the widget's value during the proc, it only updates to 100% from 0% once the function has completed - this is obviously not that useful to the user. It appears that the screen will only update once a proc has finished executing and control returns to the form/user input. Is there a way to force a form to refresh during a piece of proc code?
I have tried using asynchronous interupts with UTIMER but these also do not appear to execute whilst a piece of proc is running.