J
Juan Gabriel Del Cid
No, to change the default behavior of Enter, Tab, etc. you must write the
code yourself. You want to handle the KeyPress event and check for
Keys.Enter, like so:
private void xxx_KeyPress(object sender, KeyEventArgs e) {
if (e.KeyData == Keys.Enter) {
// etc
}
}
Hope this helps,
-JG
PS. I once had a big argument with a client about this issue. In my opinion,
it is not a good idea for an application to change standard Windows UI
behavior.
code yourself. You want to handle the KeyPress event and check for
Keys.Enter, like so:
private void xxx_KeyPress(object sender, KeyEventArgs e) {
if (e.KeyData == Keys.Enter) {
// etc
}
}
Hope this helps,
-JG
PS. I once had a big argument with a client about this issue. In my opinion,
it is not a good idea for an application to change standard Windows UI
behavior.