Windows Develop Bookmark and Share   
 index > Windows Forms General > ToolStripTextBox accept / validate in Context Menu
 

ToolStripTextBox accept / validate in Context Menu

Hey everyone:

I've placed a toolStripTextBox control in a dropdown on a ContextMenuStrip. The textbox allows users to enter a new name for a file or field rename. The idea is that selecting the "Rename" ToolStripMenuItem will flyout the dropdown toolStripTextBox and allow the user to enter a name.

The INTUITIVE action by the user would then be to press ENTER to accept the change, but, alas, this isn't allowed by the control.

How can I signal an accept/validate for the toolStripTextBox, using an Enter?

If this isn't possible, how best do it?

Any ideas will be appreciated.

SmithSystems  Tuesday, March 28, 2006 6:25 AM
No ideas?
SmithSystems  Sunday, April 02, 2006 4:00 AM

You can use google to search for other answers

Custom Search

More Threads

• RegAsm error because it is not a valid .NET assembly using VS2005
• how do I set environment variables from a Windows app?
• overriding event call best pratice
• Textbox event problem
• trying to find a reg expression for mm/dd/yyyy hh:mm AM/PM
• Finding Software installed or not
• Serialization exception
• Details ListView & Screen Readers
• DefaultValuesNeeded Event not Firing
• Adding TreeNode nodes to treeview1.Nodes[index] ?