Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input languages
Message
 
À
17/07/2006 06:37:21
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:
01136941
Vues:
12
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

Cheers
Jaime

>On a form (CP 1251) user on some fields has to type on serbian (Latin) language and on some others on serbian (cyrilic). Advanced settings for non-unicode programs on "regional and language options" is set to serbian (cyrilic). Font is Times New Roman. How to implement such a behavior without forcing user on a selected form field to switch between keyboard languages (serbian latin or serbian cyrilic)? Is it possible to join somehow language on a specific fields?
>
>For example on field 1 user should see QWE and on field 2 ЉЊЕ (this is a difference between serbian latin and serbian cyrilic) by typing same letters.
>
>Thanks in advance.
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform