Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ingrid Problem
Message
From
19/07/1998 11:41:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/07/1998 02:09:37
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00116648
Message ID:
00119099
Views:
28
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform