Thanks!
David ^_^
> When I add line(s) to a TMemo, the cursor is set to the bottom.
Memo1.SelStart := 0;
SendMessage(Memo1.Handle, EM_SCROLLCARET, 0, 0);
--
Rick Rogers (TeamB) | Fenestra Technologies
http://www.fenestra.com/
Hi David,
I take a long winded approach (to keep from becoming befuddled) :-) ..
memo1.setfocus;
memo1.selstart:= 0; // this 0 could/should be a var..you decide.
memo1.perform(EM_SCROLLCARET, 0,0);
Errol
Memo.Lines.SelStart:=0; {first character could be any}
Memo.Lines.SelLength:=1; {move display cursor to this position}
David S
Tom Kostiainen wrote in message <35C36518...@sci.fi>...