>>
if between(nKeyCode, 64, 255) and isupper(chr(nKeyCode))
>>
>>You only need to compile the code which does that in the codepage of your choice - presumably 1251. I tried with žšđčć and ŽŠĐČĆ, and it recognized each one of them properly - my cpcurr() is 1250.
>
>
>Thanks Dragan,
>My point was that there a lot more than 97 - 122 range to make some char UPPER() :o)
Exactly - which is why I'm going 64 to 255. For some other purposes, 32 to 255 is required. Amazingly though, at least for CP 852 and 1250 (haven't tried 855 and 1251), upper(), lower(), isupper() are returning correct results.