J
Jake
Hi,
I am having a problem capturing a key event in a form. The problem I am
running into is on a form that returns a dialog result (OK or Cancel which
represented by two buttons) and I am trying to capture the enter key event
in a certain textbox on this form. Hwoerver the enter key returns the
dialog result because the OK button has focus (not input focus). I have
tried to capture the keydown event for the textbox and the form and it never
fires that event. Any ideas?
Thanks
I am having a problem capturing a key event in a form. The problem I am
running into is on a form that returns a dialog result (OK or Cancel which
represented by two buttons) and I am trying to capture the enter key event
in a certain textbox on this form. Hwoerver the enter key returns the
dialog result because the OK button has focus (not input focus). I have
tried to capture the keydown event for the textbox and the form and it never
fires that event. Any ideas?
Thanks