I always use the RichEdit.Modified property to determine whether the content has been changed.
Greetz, Peter. ________________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of c80840 Sent: vrijdag 2 april 2010 14:42 To: [email protected] Subject: [delphi-en] Detecting Change - RichEdit Hi all: I hope you can help. I'm writing a program to modify text files. What I do is load the file in a RichEdit control (set to plain text only), and modify the data. Then I plan on saving it back out, if there were changes made. Unless I missed something, I can't find a property that flags this (e.g. RichEdit1.<whatever>). Then, on top of this, let's say the RichEdit control had "ZZZ" added to it, then I used CTRL-Z to remove it, which put it back to the way it was originally loaded. If there is such a property, will it figure out what it is still the same, since the CTRL-Z removed the "ZZZ"? Thanks in advance.

