excluding keys from text box

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
 
D

Douglas J. Steele

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top