Alt-F4

  • Thread starter Thread starter Clive Poyner
  • Start date Start date
C

Clive Poyner

Can somebody please tell me how to disable Alt-F4 in
VB.Net to prevent users from closing forms?
 
* "Clive Poyner said:
Can somebody please tell me how to disable Alt-F4 in
VB.Net to prevent users from closing forms?

In the form's 'Closing' event handler, set 'e.Cancel = True' to stop
closing the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top