Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 01-25-2001, 08:55 AM
eva eva is offline
Junior Member
Join Date: Jan 2001
Posts: 1
Default TRichEdit changes contents on Windows 2000

The contents of a TRichEdit control changes when running my app on Windows 2000. It works fine on Win95/98/NT.
Example: With an SGML file loaded into a TRichEdit, I turn off WordWrap. The control perfoms the wordwrap change and then unexplicably adds formatting codes to the file contents. Any hints why that's happening?

Example of an SGML file (before changing WordWrap):

XXX Inc.
Original Articles

Same file (after changing WordWrap):

{\rtf1\ansi\deff0{\fonttbl{\f0\fnil MS Sans Serif;}}
\viewkind4\uc1\pard\cf1\lang1033\f0\fs20 \par [
\par ]>
\par XXX Inc.
\par Original Articles
Reply With Quote
Old 01-25-2001, 09:46 AM
Claude Claude is offline
Senior Member
Join Date: Jan 2001
Posts: 178
Default RE: TRichEdit changes contents on Windows 2000

It would not be the first time Microsoft makes some modifications to the behaviour of a library. For example, everytime a new version of MDAC is released, patches to Delphi have to be applied.

I suggest you take a look at WPTools ( It is entirely written in Delphi so you will never encounter surprises when switching platforms or operating systems (Kylix is nearly here).
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 12:06 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.