ContextMenuStrip problems
Hello,
I have a ToolStripTextBox in a ContextMenuStrip in a 2.0 windows form. I want to type text into it, and then hit enter, and then do what I want to do. The problem is is that the textbox doesn't recognize the KeyUp event when Enter is hit. AllowReturn is false, on the form KeyPreview is true. The way that I did it was use a keyup event on the contextmenustrip which works, but isn't the way I want to do it.
How can I get that textbox to recognize the Enter key? I should also note that the contextmenustrip only recognizes the enter key on the number pad and not the main enter key.
Thanks.
Brian
__________________
Brian
|