Solved

TRichEdit and graphics

Posted on 1997-06-20
1
183 Views
Last Modified: 2010-04-04
Can i put graphics into Delphi's rich edit control and if i cannot what control shall i use to display hypertext and graphics. I've tried HTML but i don't like it.
0
Comment
Question by:topalzzz
1 Comment
 
LVL 4

Accepted Solution

by:
StevenB earned 100 total points
ID: 1337284
 No you can't display graphics in the TRichEdit as you'll discover if you try to paste them in from Word for example. This is only one of the TRichEdits many short comings (I'll list many more if you like). If you want RichText with graphics then you'll probably have to investigate other components. The best one I've found is the TWPTools suite of components which can be found at:

http://members.aol.com/jziersch/index.html

  As for Hypertext, I presume you aren't talking about full Internet access stuff, (for which I'd strongly recomend a dedicated component), but simple in document navigation. For this there are many solutions, including dedicated components, but as you've stated that you don't like the HTML comp then perhaps you could implement it yourself. This would probably involve a list of links stored with the component, so the best approach would be to inherit your own component from whatever RichEdit you use. To describe this process in full would take a long time, but any specific points you have, I'd be happy to address.

  Steven.
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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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