In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
Trap the FormClosing event on the form itself and this will be fired whenever the user clicks on the X.
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
Thanks!
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
Thanks!
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
Sorry to ask this but how do you trap the form closing event?
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
You need to generate a FormClosing event handler and add your code to the method that is generated.
You can do this by clicking on the form itself and then in the properties window, click the lightning icon to show a list of available events and scroll down until you see FormClosing and double click to the right of this event.
This will generate the method in your code-behind program and wire it up for you.
In visual cobol is there a way to trapped the X button on a winform being clicked. I need to do some processing before closing the window.
Thanks
Thanks Chris.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.