开发者

In WinForms Application control + C is not doing a copy on my rich text box

开发者 https://www.devze.com 2023-01-02 06:36 出处:网络
I added a menu with short cut keys for copy and past (Control+C & Control+V) on a windows forms application.The application has a single richtextbox control.The events for the menu items call Rich

I added a menu with short cut keys for copy and past (Control+C & Control+V) on a windows forms application. The application has a single richtextbox control. The events for the menu items call RichTextBox.Copy and RichTextBox.Paste but I can't get the short cut keys to work. Control+c &a开发者_如何学Cmp; +v do nothing.

Is there a step I am missing?


Is the richtextbox ShortcutsEnabled property is set to true?
Try to remove the shortcut key from the menu and see if it works?

0

精彩评论

暂无评论...
验证码 换一张
取 消