Number of lines in MemoView
Hi,
is there any possibility to get the number of lines of a memoview (with WordWrap = True) in an event?
Thanks in advance,
M.Hanisch
is there any possibility to get the number of lines of a memoview (with WordWrap = True) in an event?
Thanks in advance,
M.Hanisch
Comments
sample to strip blanklines.
begin
for i := TfrxMemoView(Sender).Lines.Count - 1 downto 0 do
begin
if TfrxMemoView(Sender).Lines.Strings = '' then
TfrxMemoView(Sender).Memo.Delete(i);
end;
end;