4

How can I add an HyperLink in a TRichEdit (using Delphi).

I need to have something like:

"This is my text, click here to do something."

4 Answers4

4

According to this article on delphi.about.com

Unfortunately, Delphi's implementation of the RichEdit control leaves out a lot of the functionality found in more recent versions of this control (from Microsoft).

You can add your own functionality as discussed here.

NOTE: Delphi 2009 has just been released, so the TRichEdit control may have been updated to support mode features.

stukelly
  • 4,257
  • 3
  • 37
  • 44
4

If you really want hyperlinks and more, you could check out TRichView. There is a good demonstration of its capabilities at link text.

3

i don't know if it's mentioned in the About.com article but i think it's worth mentioning that the hyperlink in TRichEdit only works if the TRichEdit itself is directly placed on the form (not in a panel).

http://www.scalabium.com/faq/dct0146.htm

X-Ray
  • 2,816
  • 1
  • 37
  • 66
1

The richedit in Infopower supports hyperlinks.

Tom
  • 1,381
  • 3
  • 15
  • 26