Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format property in Editbox
Message
 
To
05/10/2006 12:58:15
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01159363
Message ID:
01160361
Views:
46
When you only code in English, it is a tried and true method. However, I did see the advantage in ISALPHA, not only because I suspected it would behave better with other languages, but because it's clearer as to what's going on . . .

>The old tried and found false method. Even the famous InGrid class has this error. Checking with isalpha() actually works for other codepages.
>Of course one still has to check the keypress value for negative values - so I think it'd be
>
>case between(nKey, 32, 255) and isalpha(chr(nKey))
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform