How to force listening to buttonclick
Posted on 2014-02-24
In my application I do some fast processing. When the processing starts I want to be able to pause it.
For this purpose I have added a pause-button to the form. The only thing is, that when I press the button it doesn't react immediately. Sometimes I have to press it multiple times before it works. Meanwhile processing takes on.
Is there a way to make sure that the buttonclick will always be noticed and processing of the job is paused immediately?