I have a TMemo in which I tried to load text but I get this error: "Text exceeds memo capacity". The code is this: Memo1.Lines.LoadFromFile(s) What is the limit for TMemo under Delphi 7/Win 7? I knew there was a 64KB limit but under Win95/98.
Note: This error is a screenshot sent by a user. I can successfully load large files (5-10 MB).
Update:
I got a new bug report this time at this line:
procedure TCLog.Add (s: string; Cl: TColor);
begin
SelStart:= Length(Text);
SelAttributes.Color:= Cl;
S:= GenerateString(Indent, ' ')+ S;
TRY
Lines.Add(s); <------------------------ HERE
EXCEPT
on E: Exception DO
begin
MesajError('Cannot store string '+ s);
raise; // re-raise the currently caught exception
end;
END;
if AutoScroll
then LogScroll;
end;