Simple way
in the form properties.. set KeyPreview = True
VB Code:
Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then Unload Me End Sub
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |