Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiLanguage Captions (and other stuff)
Message
From
17/07/2012 19:04:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01548737
Message ID:
01548751
Views:
86
This message has been marked as a message which has helped to the initial question of the thread.
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform