Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crash with textbox
Message
From
05/03/2009 22:35:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/03/2009 15:02:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01385918
Message ID:
01386074
Views:
50
>>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform