Textbox should not accept data from clipboard like "when u press ctrl+V, data should not paste to textbox?

Muhilan
Posted by Muhilan under VB.NET category on | Views : 3175

Private Sub txtConvValue_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtConvValue.KeyPress
System.Windows.Forms.Clipboard.Clear()
End Sub

Another option.

For every control make a False for Shorcut Enabled property

Comments or Responses

Login to post response