General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only