Home »
Public Forums »
archive »
Running processes in parallel
Running processes in parallel [message #49244] |
Wed, 12 July 2006 13:10 |
WorkerAnt
Messages: 1 Registered: July 2006
|
Junior Member |
|
|
Currently, there is a for loop in my program that takes anywhere from a
couple of seconds to a couple of minutes. (The procedure runs a step by
step animation using the wait function). It's called from an event
handler whenever a button in the widget is pushed. I want to be able to
stop anytime in the middle of the animation when another button is
pressed. (As opposed to the ctrl break method).
However, the event handler is unable to process the stop button getting
pushed until the for loop procedure is complete, thus defeating the
purpose. Is there any way to run two procedures in parallel? Or a time
independent way to have one take priority over another?
Barring these two possibilities working, is there any other way of
having the animation stop?
|
|
|
Current Time: Sat Oct 11 08:33:49 PDT 2025
Total time taken to generate the page: 1.20065 seconds