Solved

32k limit for TMemo

Posted on 1997-06-02
5
301 Views
Last Modified: 2013-12-16
I am trying to create an HTML editor. My problem is that I would like to be able to use it to edit large files and TMemo will not accept files that are larger than 32k. Is there any way around this limit or would I have to use some other component? If I do have to use another component, where can I find one (preferably shareware)?
0
Comment
Question by:Theophilus
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mheacock
Comment Utility
Not to dis your project...but why re-invent the wheel.  There
are many fine HTML editors already out there.  There are
some freeware too where you can pick up the source code if you
are meaning to implement into a current project.

Check out the Delphi Super Page.
0
 

Accepted Solution

by:
chrb earned 70 total points
Comment Utility
Download cmemo10.zip from :
http://www.objectlessons.com/~ol/swfw/sw32.shtml

I can't remember the developers homepage, and i can't find it in the documentation.

Chr
0
 
LVL 1

Author Comment

by:Theophilus
Comment Utility
mheacock: There are 3 reqirements i have for an HTML editor:
1.  The problem I'm asking about - it has to be able to edit large files
2.  New HTML tags are being added all the time (well, every now and then at least) so it must be easy to add new tags (custom toolbar).
3.  If, for any reason, I have to edit the .HTM file in a plain text editor or word processor, the code must be easy to read. In other words

Text
<P>
More text

and not

Text<P>More text
(This isn't a problem unless it's a WYSIWYG editor.

I have not yet found an HTML editor that fulfills all these reqirements and is also easy to use. I figured it would probably be easier to make my own than take the time to download the various shareware/freeware editors, install them, try them out, then delete them and download more if I'm not satisfied. Of course, if you know of an HTML editor that fulfilles these requirements, then that would be a quite acceptable solution to my problem.
0
 
LVL 1

Author Comment

by:Theophilus
Comment Utility
chrb: I forgot to mention that I'm using Delphi 1. Cmemo is for Delphi 2. See also my comment to mheacock.
0
 

Expert Comment

by:chrb
Comment Utility
The problem is that Delphi 1 is only 16 bits and then it can't access more than 64kb in an array so I am not sure if it is possible to make a component like that. It is possible, but I is very diffucult I think :( Sorry, I can't help you :( Switch to Delphi 2/3 :-)

Chr
0

Featured Post

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

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

743 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

18 Experts available now in Live!

Get 1:1 Help Now