Solved

Capacity TMemo

Posted on 1998-09-12
7
534 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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