Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chinese toolbar names within capp.capplication class (C
Message
De
20/08/1998 09:49:57
 
 
À
19/08/1998 22:52:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00123109
Message ID:
00128467
Vues:
40
You should't have both. As far as INTL is concerned, "File" and "File+hotkey" are equivalent and equal, and if the call had a hotkey and if the translation has a hotkey, then the translation comes back with a hotkey. If the call had no hotkey, then the translation comes back without a hotkey regardless if the translation contains a hotkey.

And forget about using LOCATE. There's no need.



>Actually, I have them both. And even though it is passed "F\>
>This is because it is finding the first occurrence of the word, which is "File." And it returns the cChinese translation which, for obviuos reasons, does not include the hotkey. It never finds the second occurrence of the word which would actually be the record containing the hotkey.
>
>If the strings table was small enough (3000 records) wouldn't a LOCATE be fast enough to find what you're looking for?
>
> IF jHadHotKey
> LOCATE for coriginal = "File" AND "\<" $ coriginal
> ENDIF
>
>Thanks again....
>Michael
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform