E
Elmo Watson
in VB6 - I'd assign the Keypreview of a form to true and then dump the form
within an if then statement, like this:
if keyascii=vbkeyescape the
' unload code goes here
end if
Well - in vb.net - there's a key preview property for the form, but when you
get to the keyPress event - it's totally different, and, of course, the if
statement totally errors out -
What is in its place, in VB.Net?
within an if then statement, like this:
if keyascii=vbkeyescape the
' unload code goes here
end if
Well - in vb.net - there's a key preview property for the form, but when you
get to the keyPress event - it's totally different, and, of course, the if
statement totally errors out -
What is in its place, in VB.Net?