My program has a long loop that takes a few minutes to run. While it is running, the form freezes, it doesn't respond to any clicks on the controls. Even the minimise button doesn't work.
How can I add a STOP button that can be clicked, and will abort the loop?
How can I add a STOP button that can be clicked, and will abort the loop?