如何允许在一个WinForms文本框CTRL-V(粘贴)? [英] How do I allow CTRL-V (Paste) on a Winforms Textbox?
本文介绍了如何允许在一个WinForms文本框CTRL-V(粘贴)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个窗口的形式在多个文本框。
I have several textboxes on a windows form.
我不能使用CTRL-V将文本粘贴到任何人,但我仍然可以点击右键并选择粘贴。这是pretty的讨厌。
I can't paste text into any of them using CTRL-V, though I can still right click and select paste. This is pretty annoying.
我曾试图与表单的关键preVIEW既是真假。 TextBox.ShortcutsEnabled也是如此。
I have tried this with the form's KeyPreview as both true and false. TextBox.ShortcutsEnabled is also true.
推荐答案
检查,看看是否有与CTRL-V的快捷方式上的菜单。
Check to see if you have a menu on the form with a shortcut for Ctrl-V.
这篇关于如何允许在一个WinForms文本框CTRL-V(粘贴)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文