Subject Re: [IBO] Re: IB_SQL Script limit 64K
Author William J Hill
Hello Norman,

> I've no idea why it allows large files to be read in at runtime but
pasting
> fails - apart from a little mention in the help, that pasting rtf code
into
> a TRichEdit will NOT format correctly, it has to be streamed in from a
file
> or memeory stream. I wonder if that is part of the problem ?
>

There's a bug (one of many) in TRichEdit. If you send text directly to
a rich edit (using paste or .lines.add()) then it hits a size limit. If you
load
a file into the rich edit, then this lower size limit is eliminated (does
not exist).

In the past I have first loaded a small file (say, windows.ini) into the
rich edit,
cleared this text immediately and then used .lines.add() to produce
memos with very large text sizes.

hth.,
William.