Jimbo99999
asked on
VB.Net - Cancel Button
Good Day Experts!
I have an application that has a main tab control. Several of the tabs have longer running processes. I do ask "Are you sure?" behind all of the button clicks, but several time Users click buttons then realize that they want to cancel.
The only way to get out of the process is to exit the application and go back in.
Is it possible to have a <Cancel> button on the UI to exit out of the current process?
Thanks,
jimbo99999
I have an application that has a main tab control. Several of the tabs have longer running processes. I do ask "Are you sure?" behind all of the button clicks, but several time Users click buttons then realize that they want to cancel.
The only way to get out of the process is to exit the application and go back in.
Is it possible to have a <Cancel> button on the UI to exit out of the current process?
Thanks,
jimbo99999
Is the long running process executing in a new Thread or is it executing in the button click event?
Possibly...it depends on how you started those "processes".
ASKER
Hello, thanks for responding. They are all executed behind a button click.
Perhaps you can show the code behind one of these buttons?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.