The TppMemo.Lines property is a TStrings object that stores each line of text as each string in the list. TppMemo.Lines.Count would be the count of rows in a TppMemo.
That's right, the TppMemo.Lines TStrings contains enteries for each line in the memo, whether it was forced by the word wrap feature or a carrage return/line feed was encountered. The CRLF will then be removed from the text. I am a bit unclear about what you are trying to accomplish. If you simply need to find out how many rows are in a memo, (to make some kind of measurement calculation perhaps) the TppMemo.Lines.Count should be the right option for you.
Comments
The TppMemo.Lines property is a TStrings object that stores each line of
text as each string in the list. TppMemo.Lines.Count would be the count of
rows in a TppMemo.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
forcing that feature
That's right, the TppMemo.Lines TStrings contains enteries for each line in
the memo, whether it was forced by the word wrap feature or a carrage
return/line feed was encountered. The CRLF will then be removed from the
text. I am a bit unclear about what you are trying to accomplish. If you
simply need to find out how many rows are in a memo, (to make some kind of
measurement calculation perhaps) the TppMemo.Lines.Count should be the right
option for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com