RadikalQ3 is right, there's no limitation for TMemo around 20k char
I think it had only limitation on win 95/98 for text files around 64kb (3 times more than what u said)
If you work with large text files, and would to load them fast I suggest you to try SynEdit, it will allow you to highlight the keywords for many languages too
http://synedit.sourceforge
Main Topics
Browse All Topics





by: RadikalQ3Posted on 2005-09-13 at 07:45:49ID: 14872202
Hi!
: TObject); ar('X',100 ) );
20.000 characters?... this is not true...
You can test this code to fill a TMemo:
procedure TForm1.Button1Click(Sender
var
n : integeR;
begin
for n:=0 to 5000 do begin
Memo1.Lines.Add( IntToStr(N)+':'+StringOfCh
end;
end;
5000 lines of 100 characters (plus the inttostr) and without problems... :?