Re: Delphi Memo: show last linePosted by Joey on March 31, 2004 at 22:51:36: In Reply to: Delphi Memo: show last line posted by Johan p14205 on March 31, 2004 at 20:59:28: Memo1.Perform(WM_VSCROLL,SB_BOTTOM,SB_THUMBTRACK); That will set the scroll bar to the bottom and show the bottom line. If you wish also for the cursor to le at the end just use Memo1.SelStart := Length(Memo1.Text); Change Memo1 to the name of your Memo ;) Hope it elp :)
[ DelphiLand: free Delphi source code, tips, tutorials ] |
|