Catharinus
14 years ago
Hello my friends
I have a texbox in which I want to insert, delete or update text.
I want to disable the keyascii = 46 (the delete-button)
I use the subrouitine Text1_keypress (keyascii as integer)
It contains, among more things,. the following code:
select case keyascii
'case 9, 13, 27
keyascii = 0
case 8
code for the backspace key
else
text1.text=text1.text & chr(keyascii)
end case
But the keyascii = 46 does not work in this.
Any idea??
Thanks
Catharinus
I have a texbox in which I want to insert, delete or update text.
I want to disable the keyascii = 46 (the delete-button)
I use the subrouitine Text1_keypress (keyascii as integer)
It contains, among more things,. the following code:
select case keyascii
'case 9, 13, 27
keyascii = 0
case 8
code for the backspace key
else
text1.text=text1.text & chr(keyascii)
end case
But the keyascii = 46 does not work in this.
Any idea??
Thanks
Catharinus