Author: Jonas Bilinkevicius
How can I have a memo show a chosen line? In fact my program does some work and
puts information in a memo, I would like the last line of the memo to be always
visible. I tried MyMemo.ScrollBy(0, MaxInt), but that does not work.
1 with Memo1 do2 begin3 SelLength := 0;
4 SelStart := Perform(EM_LINEINDEX, LineNo, 0);
5 Perform(EM_SCROLLCARET, 0, 0);
LineNo hold the line number you want to scroll to.