With reference to the form I'm designing, when the Form_Unload event occurs (or rather, when the Close (X) button is pressed), a message box appears with the options OK and Cancel. If the user chooses to press Cancel, I want the form to keep running. That is, I'd like to prevent the unload event from happening. Can it be done? I'd appreciate your suggestions.
↧