Solved

Capacity TMemo

Posted on 1998-09-12
7
532 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
Comparing dates in Delphi. Greater than/ Less than 3 149
TEMBEDDEDWB how can i change its user agent ? 8 57
DBGrid or StringGrid ? 6 88
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now