Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input languages
Message
From
17/07/2006 14:27:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136887
Message ID:
01137015
Views:
15
>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=275

Vladimir 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 :).

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