Page 1 of 1

TextFader, widestring Delphi7 and Vista ?

PostPosted: August 2nd, 2009, 8:38 pm
by actalk
Hello,

I use Delphi 7 in Windows XP.

TextFader can display diffrent language characters in XP.
But in vista same program doesn't display diffrent chars properly.
I tried to set language code to Font.Charset, but same problem continue...

If Lines of TextFader cahanged to type of WideString...
is the display problem solved ?

Thanks.

Re: TextFader, widestring Delphi7 and Vista ?

PostPosted: August 3rd, 2009, 6:12 pm
by Kambiz
Changing String to WideString works if you also change Ansi function calls to Wide function calls. For example, use DrawTextW instead of DrawText (or DrawTextA).

Re: TextFader, widestring Delphi7 and Vista ?

PostPosted: August 3rd, 2009, 7:36 pm
by actalk
I found TWideStrings in WSDLIntf unit.
and
There is a unit in freeare version of Tnt Delphi Unicode Controls..TntClasses.

I'm trying to convert variables straigthforward
uses TntClasses;

fLines:TTntStrings;
curtext,
oldtext : WideString;

and related functions and parameters in the component unit.

Probably you know more efficiet way.
I wonder, whether you think upgrade to WideString support nowadays or not ?

Re: TextFader, widestring Delphi7 and Vista ?

PostPosted: August 6th, 2009, 4:00 am
by Kambiz
I have no plan to revise TextFader or my other components to support widestring.

It's time to upgrade your Delphi to 2009.