If you need to have users close a form the way you want them to, this secret can help. Users will be unable to close a form by pressing Alt+F4. Important: You will need to have the KeyPreview property set to true for the desired form.