Solved

32k limit for TMemo

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
retrive modal form user input to database aspx with vb behind code 4 117
Help on project with Soap 10 48
Magic Software info 18 125
Gulp not seeing Changes 4 36
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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 reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

911 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

21 Experts available now in Live!

Get 1:1 Help Now