Solved

32k limit for TMemo

Posted on 1997-06-02
5
303 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
ID: 1336761
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
ID: 1336762
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
ID: 1336763
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
ID: 1336764
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
ID: 1336765
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

809 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