Project Build17.exe raised exception class EOutOfResources with message
'RichEdit line insertion error'.
I'm searching for clues. Stepping through the code seems to show that the
RichEdit has 2 lines and is being asked to add 23 more. Of course, this is
after the exception was thrown so all bets are off.
What is an "Out Of Resources" error?
After sending a string to be added to the richedit, delphi checks to
see if it succeeded by checking the resulting caret position. (It
should be at the end of the new text.) If it isn't, you get that
exception.
You didn't mention the OS you are running, but unless it is one that
has unlimited resources, you may be getting caught there. Bottom line,
the richedit wasn't able to handle the additional lines you wanted to
add. But I doubt it happened at 23+2 lines, unless those were really
big lines.
Good luck.
Kurt
Thanks, Kurt. This confirms my suspicions that the RichEdit is getting
overloaded.
Any recommendation of a component that will take rich text beyond 65536
bytes on Win98 and higher?
Mike
>Thanks, Kurt. This confirms my suspicions that the RichEdit is getting
>overloaded.
But was it? With only 25 lines?
>Any recommendation of a component that will take rich text beyond 65536
>bytes on Win98 and higher?
First, confirm tnat a TRichEdit is so limited. I know the actual limit
for a TMemo is lower, but I thought a TRichEdit was better than 65K,
even on Win98.
Good luck.
Kurt
Generally speaking I've always had the impression that
RichEdits are very picky about the code you throw at
them...
John H. Hedges
"Kurt Barthelmess (TeamB)" <kbarth...@compuserve.com> wrote in message
news:3e779b83....@newsgroups.borland.com...