Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MultiLanguage Captions (and other stuff)
Message
 
À
17/07/2012 19:04:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01548737
Message ID:
01548773
Vues:
61
>>>>Hi Gang!
>>>>
>>>>We are trying to code up a simple way to have forms show multilanguage captions..... for example,
>>>>
>>>>In this Label, we have the Caption = 'User Name'
>>>>
>>>>So... we placed this code IN the Caption.....
>>>>
>>>>=translatewrd("User Name")
>>>>
>>>>using the translatewrd function to send back "User Name" if English, and "Nombre de Usuario" for Spanish (the function looks up the English in a translate table)
>>>>
>>>>Works fine when RUN.... but....
>>>>
>>>>The problem is..... the Label is BLANK on the form in Development Mode !!!! YIKES!!!
>>>>
>>>>Any way to get the Label to show up with something other than Blank???
>>>>
>>>>Thanks!
>>>
>>>You can create a regular caption and call your function in Label's init, e.g.
>>>
>>>this.caption = TranslateWord(this.caption)
>>
>>You are GENIUS !!! Thanks!!!
>
>Steven Black's INTL toolkit is a commercial product worth looking at.

Thanks for the info!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform