Solved

Capacity TMemo

Posted on 1998-09-12
7
528 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

14 Experts available now in Live!

Get 1:1 Help Now