Running timer events and loops simultaneously
Posted on 2003-02-24
I'm doing an assignment for my college course at the moment and I'm having trouble with timer events.
Basically I have a timer event to turn on an animation until a variable equals a certain value.
I want a progress bar to increment in relation to the value of this variable at the same time.
I also want a label to display the current variable value as it changes
My problem is that the progress bar and label value wait until the "do until" loop is finished to display their values and then they just jump straight up to the their current value, i.e. they don't display their increments in real time. I've tried rearranging the code in various ways but it seems that the timer event always takes full control and does not process any other code until it has finished. My programming skills are fairly basic. Any help you can give me would be greatly appreciated.