excluding keys from text box

  • Thread starter Thread starter alekm
  • Start date Start date
A

alekm

Hi,
how can I make text box react as nothing has happend when I press certain
key. For example when I press ascii 39 (') I want text box to completly
ignore it, like notihing was pressed on keyboard.
thanx in advance

alek_mil
 
Private Sub Text0_KeyPress(KeyAscii As Integer)
If KeyAscii = 39 Then
KeyAscii = 0
End If
End Su
 
Back
Top