vbdavie Posted August 24, 2015 Share Posted August 24, 2015 I have a TuniEdit with an OnKeyPress event. It seems to work fine and get all the chars I'm interested in including the CR<#13>. HOWEVER, it appears that the BACKSPACE<#08> character is totally ignored. So, basically, my event never gets called when the user is using the backspace to ALTER the contents of the field. Luckily, the onChange event DOES happen as I change the edit field with the backspace key. Very wierd the that OnChange recognizes the keypress, but the OnKeyPress does NOT. Am I missing something? Davie Link to comment Share on other sites More sharing options...
Sherzod Posted August 24, 2015 Share Posted August 24, 2015 Hi, You should handle the onKeyDown instead of the onKeyPress event. Best regards. Link to comment Share on other sites More sharing options...
vbdavie Posted August 24, 2015 Author Share Posted August 24, 2015 I suppose that makes sense. Is it because the browser won't send it as a normal key press? Just like it doesn't send the CR as a normal keypress? Davie Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now