Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input languages
Message
De
17/07/2006 14:27:50
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01136887
Message ID:
01137015
Vues:
16
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform