Page 1 of 1

Strings and TNT component display

Posted: Wed Apr 11, 2007 9:13 am
by frank
Dear expert,
I store some strings in silang component, and i get it by using function gettextbyint.
Ex: tntlabel1.caption:=silang1.gettextbyint(1);

It show not correct the translation for Greek or the other languages.

I think that function return string type, and we need wide string type, right?
How can i do?
Please advice,
Thanks.

Posted: Wed Apr 11, 2007 10:34 am
by isiticov
I would suggest to use GetTextOrDefaultW() function to get string. This will return Unicode string for you.

Posted: Wed Apr 11, 2007 10:51 am
by frank
Thanks so much, it worked.