Re: Wrong Lines Count

Return to index



Sergey Tkachenko

Posted: 12/02/2004 10:17:13

This method returns not a lines count but document items count (the same as

ItemCount). It was not removed because of backward compatibility.

As for lines count, use



> teRichViewEdit1.LineCount shows wrong value.


> When RichViewEdit is empty it shows normal lines count, like 1. But after

> some font changes, text additions, style changes I have real 9 text lines,

> but LineCount shows me 16 !  And it's really not possible to set cursor

> beyond line number 9.



Powered by ABC Amber Outlook Express Converter