Windows Develop Bookmark and Share   
 index > Windows Forms General > Textbox shortcut keys
 

Textbox shortcut keys

I have several textbox fields on a form that all suddenly no longer repond to Ctrl + <key> events. This includes Ctrl + C, Ctrl + V, etc... However they now responde to Ctrl + Shift+ <key>. I've been all over the properties and the code, and I don't see anything that seems to indicate the behavior. Can anybody point me in a likely direction?

Thanks

kettch  Tuesday, March 13, 2007 4:31 AM
Several possibilities:
- Check if you have assigned the Ctrl+C shortcut key to any of your menu items.
- Ensure that the textboxes' ShortcutsEnabled property is set to True
- If you use your own message loop or MFC, you must display your form with ShowDialog().
Gavin Jin - MSFT  Wednesday, March 14, 2007 8:35 AM
It may happen for a macro.If u set a Ctrl+C macrofor other process then it may happen
Deepraj_Majumdar_35eaf1  Tuesday, March 13, 2007 6:52 AM
Well, it only happens on the main form of the application. All sub forms and dialog boxes behave normally.
kettch  Tuesday, March 13, 2007 7:11 AM
Several possibilities:
- Check if you have assigned the Ctrl+C shortcut key to any of your menu items.
- Ensure that the textboxes' ShortcutsEnabled property is set to True
- If you use your own message loop or MFC, you must display your form with ShowDialog().
Gavin Jin - MSFT  Wednesday, March 14, 2007 8:35 AM

You can use google to search for other answers

Custom Search

More Threads

• Listbox MouseDown and SelectedIndexChanged Event Handlers Conflicting
• How to add controls dynamically depending of the type of an enum? Which Design Pattern...?
• .net Remoting events.
• how to get a field from a listview
• Dynamic generation of controls
• How to convert the given text to Speech in c#.net 2.0?
• SessionEnd
• script error in axwebbrowser and newwindow pdisp problem in normal webbrowser(not axwebbrowser)
• dividing column header in datagridview
• User Control on the datagridview