• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • Last Modified:

Capacity TMemo

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
detempel
Asked:
detempel
  • 3
  • 3
1 Solution
 
MatveyCommented:
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
 
detempelAuthor Commented:
I want to use 'standard' components only to show unformatted ascii-text.
0
 
MatveyCommented:
Why not richedit? It's quite standard - built in windows control, used in WordPad also...
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
detempelAuthor Commented:
What I want to know is how big a file the component can hold.
0
 
viktornetCommented:
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
 
detempelAuthor Commented:
I've decided to use the RichEdit-component and want to give my points to Matvey, so please answer my question Matvey.
0
 
MatveyCommented:
TRichEdit allows editing large texts...

Good luck!
--Matvey
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now