>>>In a textbox, entering a value chr(1) or chr(5)... the program crashes.? This can be possible with the numlock is off and the user clicks on 7 or 8 and so on. I can put numlock(.T.), ok, but i want to trap this error. NODEFAULT don't help me in the keypress event. Some idea?
>>>Thanx in advance
>>
>>How exactly you're entering these values?
>
>the keyboard at the right (i donno the name in english): when numlock is on returns a number, when off returns these values.
The values are sort of there, but I think it's undocumented. When numlock is off, on the numeric keypad the 2, 4,6 and 8 keys act as arrow keys, 7,1 as home/end and 9,3 as page up/down. Zero is insert and the dot is delete. So... something is off with your keyboard, it seems to be misbehaving, or it could be wrong at the OS level - I think nobody's really testing what happens when num lock is off.