• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

TRichEdit and graphics

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
topalzzz
Asked:
topalzzz
1 Solution
 
StevenBCommented:
 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now