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.
 
Back
Top