Solved

32k limit for TMemo

Posted on 1997-06-02
5
306 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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Annoying "thing" blocks my view 4 145
JAudiorecorder record freezing the app 29 91
DW 2017 background color change 5 55
TlistView is Really heavy on Android 3 43
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…

734 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