Private Sub DataCombo1_KeyPress(KeyAscii As Integer)
KeyAscii = 0 '禁止一切键输入
End Sub
Private Sub DataCombo1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
If Button = 2 Then Clipboard.Clear '禁止粘贴剪贴板内容
End Sub
'在DataCombo事件KeyPress和MouseDown加入上述代码后,就基本上无法人为改变DataCombo中内容了,只有选择其下拉内容