Board index » delphi » Capacity of TMemo/TRichEdit
Geoffrey Ash
![]() Delphi Developer |
Sun, 20 Jan 2002 03:00:00 GMT
|
Geoffrey Ash
![]() Delphi Developer |
Sun, 20 Jan 2002 03:00:00 GMT
Capacity of TMemo/TRichEdit
I have searched every where and I cannot find the specifications for the
text capacity of a TMemo\TRichEdit. Can some one point me in the right direction? Geoff Ash |
Guido Festraet
![]() Delphi Developer |
Sun, 20 Jan 2002 03:00:00 GMT
Re:Capacity of TMemo/TRichEditQuoteGeoffrey Ash wrote in message <7o8dhs$67...@newsman.murdoch.edu.au>... that in D4 there is no theoretical limit for a TMemo. It is a pity though that Windows limits the capacity to 64K. My tests show that if you enter text in a TMemo, the limit is 32K ...unless you change MaxLength to "greater than 32K" and only then the capacity can go up to 64K. Guido |
Dave Hugh
![]() Delphi Developer |
Mon, 21 Jan 2002 03:00:00 GMT
Re:Capacity of TMemo/TRichEditHi Geoff, On Wed, 4 Aug 1999 12:01:26 +0800, "Geoffrey Ash" Quote>I have searched every where and I cannot find the specifications for the * TRichEdit is limited only by available memory This is demonstrated by Notepad which has a file size limit under Win95 Regards, Dave. |
Shakepea
![]() Delphi Developer |
Tue, 22 Jan 2002 03:00:00 GMT
Re:Capacity of TMemo/TRichEditI Thought Delphi 3, 4, and 5 had much larger limits. 4.3 gig in fact. And even if you run out of memory won't the OS switch to virtual memory? Maybe I'm just talking out of my butt, but it similar to DOS edit. The win95 version of edit can open very large files. 4.3 gig is from 2 to the 32nd power. |
Dave Hugh
![]() Delphi Developer |
Tue, 22 Jan 2002 03:00:00 GMT
Re:Capacity of TMemo/TRichEditHi, On 06 Aug 1999 16:16:58 GMT, shakepe...@aol.com (Shakepeare) scribbled: Quote>I Thought Delphi 3, 4, and 5 had much larger limits. 4.3 gig in fact. And be completely wrong here - but I think the limits aren't actually imposed by Delphi but by Windows itself. I'm sure you're right about Edit under the command line - it can indeed handle "unlimited" size files - but I'm sure I remember under '95 ('98 as well anyone?) that if you try and open a file that's too large in Notepad (~200k for example), it'll come up with the message "This file is too large for Notepad, do you want to load it in Wordpad?" Or something along those lines. This is because Notepad uses Now, for some reason (totally unknown to me - anyone else shed any light I can't for the life of me remember whether it's 32k or 64k that you can |
Piotr Trzcionkows
![]() Delphi Developer |
Thu, 24 Jan 2002 03:00:00 GMT
Re:Capacity of TMemo/TRichEditFri, 06 Aug 1999 19:38:43 GMT, d...@waveform.free-online.co.uk (Dave Hughes) napisa3(a): Quote>>I Thought Delphi 3, 4, and 5 had much larger limits. 4.3 gig in fact. And Quote>I'm sure you're right about Quote>while Wordpad uses (again, essentially) Quote>Now, for some reason (totally unknown to me - anyone else shed any light Quote>However, TRichEdit's |