TextFader, widestring Delphi7 and Vista ?

Post here your experiences, comments, suggestions, or bug reports regarding to the DELPHI AREA products. Not-matching topics will be moved or deleted.

TextFader, widestring Delphi7 and Vista ?

by actalk » 02/08/09 20:38

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
Active Member
Active Member
 
Posts: 16
Joined: 05/10/07 15:56

Re: TextFader, widestring Delphi7 and Vista ?

by Kambiz » 03/08/09 18:12

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

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1828
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: TextFader, widestring Delphi7 and Vista ?

by actalk » 03/08/09 19:36

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
Active Member
Active Member
 
Posts: 16
Joined: 05/10/07 15:56

Re: TextFader, widestring Delphi7 and Vista ?

by Kambiz » 06/08/09 04:00

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

It's time to upgrade your Delphi to 2009.
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1828
Joined: 07/03/03 19:10
Location: Tehran, Iran


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 0 guests