G
Guest
I have one button and a textbox on a form. When pressing enter-key in the textbox the keydown event is triggered as i should. Then i open another mdi-child (opens from the button_click event) and when I return to the first form and presses the enter-key in the textbox again the Button_Click is trigered instead of the keydown event ?
I feel almost like the AcceptButton property has been set to the button or something like that. However this property i "Nothing" and the textbox still has the focus when checking in the button_click event
I have one very simple example here: http://marvin.irm.se/max/Sample/WindowsApplication8.zip
I feel almost like the AcceptButton property has been set to the button or something like that. However this property i "Nothing" and the textbox still has the focus when checking in the button_click event
I have one very simple example here: http://marvin.irm.se/max/Sample/WindowsApplication8.zip