Solved

32k limit for TMemo

Posted on 1997-06-02
5
307 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
[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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

705 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