TextFader, widestring Delphi7 and Vista ?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TextFader, widestring Delphi7 and Vista ?

Postby actalk » August 2nd, 2009, 8:38 pm

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.
actalk
Junior Member
Junior Member
 
Posts: 29
Joined: October 5th, 2007, 3:56 pm

Re: TextFader, widestring Delphi7 and Vista ?

Postby Kambiz » August 3rd, 2009, 6:12 pm

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).
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TextFader, widestring Delphi7 and Vista ?

Postby actalk » August 3rd, 2009, 7:36 pm

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 ?
actalk
Junior Member
Junior Member
 
Posts: 29
Joined: October 5th, 2007, 3:56 pm

Re: TextFader, widestring Delphi7 and Vista ?

Postby Kambiz » August 6th, 2009, 4:00 am

I have no plan to revise TextFader or my other components to support widestring.

It's time to upgrade your Delphi to 2009.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 4 guests

cron