Re: Richedit chars

[ Delphi Forum -- by DelphiLand ]

Posted by WAllison on December 25, 2003 at 15:11:08:

In Reply to: Richedit chars posted by Szeltan on December 17, 2003 at 21:52:01:

: Hi!
: I'd like to go through ALL of the characters in a RichEdit. My problem is that when I sum the length of all the lines, I always get less than with the GetTextLen function. I think it is due to the fact that the Length() does not count the #10#13 chars at the end of each line. Is there a way to count those too?
: Thx in advance

why not just use RichEdit.Lines.Text;

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]