Show the last lines of a TMemo  

Send By: Q3 Team
Web : http://www.q3.nu
Email: dlib@q3.nu
Date: 23/09/99

Tip accessed 420 times

 


Useful if we load a Memo from a file, or we have a memo that already has a heap of lines when run our application, and we want that they see the last lines, instead the first.


 procedure TForm1.Button1Click(Sender: TObject);
 begin
   Memo1.SelStart:=Length(Memo1.Lines.Text);
   Memo1.SelLength:=0;
 end;