>Zoran
>You need to use ActivateKeyboardLayout in order to do that. You declare it using
>DECLARE INTEGER ActivateKeyboardLayout IN user32;
> INTEGER hkl, INTEGER Flags
>
>You must load and check locale identifiers for Serbian Latin and Serbian Cyrillic ( using GetKeyboardLayouts ), then in the GotFocus() of each field, you can put
>ActivateKeyboardLayout ( LanguageLocaleIdentifier, 0 )
>** where LanguageLocaleIdentifier is the corresponding number for the
>** language you want
>
>The best way for you to see a right implementation in VFP is to see:
>
http://www.news2news.com/vfp/?function=-1&example=275Vladimir Shevchenko has posted some extensive code with layout switching in textbox .gotfocus and .lostfocus long ago on VFUG -
http://www.vfug.org/ - and it shouldn't be that hard to find, the site is still very fast (if you don't mind how it looks :).