Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jun : More on Memo Size
| Subject: | More on Memo Size |
| Posted by: | "A Nixon" (p..@pac.asn.au) |
| Date: | Fri, 30 Jun 2006 08:45:32 |
Narrowed down the problem (??) of not being able to add more to a richedit,
but still not sure why.
I can use LoadFromFile to add data to the component and edit it as normal.
but if I do something like this...
RichEdit1.LoadFromFile(aFile);
for N := 0 to RichEdit1.Lines.Count - 1 do
RichEdit1.Lines[N] := Decrypt(RichEdit.Lines[N]);
I can no longer add characters to it if the data size is (from what I can
determine) around 64K.
I can delete characters, but I can only add them again untilthe character
count reaches the original loaded file size no further data can be added.
If I load the file to a stringlist and transfer the data to the richedit the
same happens.
Tried this on D6 and Delphi 2005 with same results.
regards
Tony