>>
IF ISALPHA(CHR(nKey)) OR ISDIGIT(CHR(nKey)))
>>..
>Yes, I figured this out already <g>, but it didn't bring me closer to my goal, since the original class is not working. I tried to fix it, but it's not that easy.
Nadya,
First test whether nKeyCode is between 0 and 255. Some function keys return a negative value
Gregory