We help IT Professionals succeed at work.

TRichEdit and graphics

topalzzz
topalzzz asked
on
Medium Priority
216 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.
Comment
Watch Question

CERTIFIED EXPERT
Commented:
 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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.