Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ingrid Problem
Message
De
19/07/1998 11:41:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/07/1998 02:09:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00116648
Message ID:
00119099
Vues:
26
>I have one remaining question and one more InGrid problem. First the question. Someone (It think it was Dragan Nedeljkovic), in this thread indicated that the InGrid keypress method should use isalpha rather than the range of characters currently specified. Does this mean that the code should read
> CASE isalpha((m.nKeyCode)
>rather than
> CASE BETWEEN(m.nKeyCode, 49, 126) OR INLIST(m.nkeycode,32,45,39,48) && AlphaNumeric
>

It should be
CASE isalpha(chr(m.nKeyCode))

It just needs some testing beforehand to dismiss the cases when nKeyCode is beyond the 0-255 interval (like keys F2-F10 giving values -1 to -9).

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