digioz
Newcomer
Hi,
I am looking for a way to stop / interrupt the execution of a subroutine on a form, based on an even that fires. So basically:
1. User clicks on a button.
2. Button calls a function or subroutine.
3. Event fires on the form.
4. Event stops the execution of the function or subroutine regardless of the stage of the execution the routine is in.
5. The form does NOT close and the data in controls on the form as well as instances of initialized objects remain.
Can anyone think of a way to do this? Maybe using some sort of a signal interrrupt or signal handling?
Thanks,
Pete
I am looking for a way to stop / interrupt the execution of a subroutine on a form, based on an even that fires. So basically:
1. User clicks on a button.
2. Button calls a function or subroutine.
3. Event fires on the form.
4. Event stops the execution of the function or subroutine regardless of the stage of the execution the routine is in.
5. The form does NOT close and the data in controls on the form as well as instances of initialized objects remain.
Can anyone think of a way to do this? Maybe using some sort of a signal interrrupt or signal handling?
Thanks,
Pete