Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crash with textbox
Message
De
05/03/2009 22:35:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/03/2009 15:02:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01385918
Message ID:
01386074
Vues:
49
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform