Solved

Capacity TMemo

Posted on 1998-09-12
7
533 Views
Last Modified: 2010-04-06
What's the capacity of the Memo-component. If it's restricted and not capable of containing a large file is there an unlimited alternative. I'm not sure but I seem to remember there was a serious limitation in Delphi 1. By the way this question concerns Delphi 3.
0
Comment
Question by:detempel
  • 3
  • 3
7 Comments
 
LVL 3

Expert Comment

by:Matvey
ID: 1339562
TMemo seems to be limited, TRichEdit might be not.


    Try these maybe:

    http://bes.trendline.co.il/torry/vcl/edits/ledit.zip 
    "...large edit control that may edit texts more than 64K..."

    http://bes.trendline.co.il/torry/vcl/edits/jmpmemo.zip 
    "load text files up to 8Mb..."

    http://bes.trendline.co.il/torry/vcl/edits/ememo.zip

--Matvey
0
 

Author Comment

by:detempel
ID: 1339563
I want to use 'standard' components only to show unformatted ascii-text.
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1339564
Why not richedit? It's quite standard - built in windows control, used in WordPad also...
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:detempel
ID: 1339565
What I want to know is how big a file the component can hold.
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1339566
I tried it on my system and it allows exactly 59673 chars which is 59673bytes or 58.2kb

Usually in 32-bit system it is suppose to be around 64kb

Regards,
Viktor Ivanov
0
 

Author Comment

by:detempel
ID: 1339567
I've decided to use the RichEdit-component and want to give my points to Matvey, so please answer my question Matvey.
0
 
LVL 3

Accepted Solution

by:
Matvey earned 30 total points
ID: 1339568
TRichEdit allows editing large texts...

Good luck!
--Matvey
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question