In a C# desktop application, I have a customer widget which contains a text box. I also have a menu item on a menu strip that has the Delete key as its short-cut key. The behaviour I'm finding is that pressing delete in the text box, which the user will expect to delete a character, is actually triggering the menu item and deleting the whole object they are working on.
Is there any way to let the text box have "first crack" at handling the key press rather than the menu item?
Thanks.