Subject | Re: [IBO] Re: IB_SQL Script limit 64K |
---|---|
Author | William J Hill |
Post date | 2003-01-22T20:05:30Z |
Hello Norman,
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.
> I've no idea why it allows large files to be read in at runtime butpasting
> fails - apart from a little mention in the help, that pasting rtf codeinto
> a TRichEdit will NOT format correctly, it has to be streamed in from afile
> 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.