以下是引用xzlxzlxzl在2014-12-1 20:09:15的发言:
不嫌麻烦,用代码控制,很简单的。
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 22 Then KeyAscii = 0 '禁止Ctrl+V键粘贴
End Sub
Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then MsgBox "禁止粘贴" '禁止按鼠标左键粘贴
End Sub
不要msgbox怎么弄?不要任何提示