Hi Luis,

I don't understand your 1st question.
The 2nd is easy.

In your classDeclaration add a variable from extended data
type "LanguageIdAll" for language like this:
LanguageIdAll language;
Now add the "new" method to your class.
void new(LanguageIdAll _language)
{
    language = _language;
}

The extended data type "LanguageIdAll" uses the
table "LanguageTable". So there you should define your language if
it's not yet there.
That's all. Now in your class in any (non static) method you can use
the variable language to find out what language you used.

Regards,

Nico


--- In [email protected], "gui_opentv"
<[EMAIL PROTECTED]> wrote:
>
>
> Hi guys,
>
> I'm new to this, and will probably make some silly question,
forgive
> me.
>
> Here goes:
>
> - How can I convert, in X++ a text case, from a string variable
> - Is there any class that converts numbers to text representing
> those numbers?
>
> For the last one, I started a Class which works ok for Spanish
> (meaning that it will return my passed number in full text) but I
> want to make it international. How can I create a "property" that
> keeps my initialized value to define for wich language I want to do
> the convertion.
> For example, x = new xptoclass("enEN"); y = x.Convert2Text(234.2);
> In Convert2Text, I want to be able to read the value of the
> parameter for the "new" method.
>
> By the way, anyone wants to contribute to make this class
> international, adding methods for each language?
>
> Regards,
> Luis Guilherme







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to