How to add HyperLink to TRichEdit using Delphi

How to add HyperLink to TRichEdit (using Delphi).

I need something like:

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

+4
source share
4 answers

According to this article on delphi.about.com

Unfortunately, the implementation of the RichEdit control in Delphi leaves many of the features found in later 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.

+4
source

If you really need hyperlinks and more, you can check out TRichView. There is a good demonstration of its capabilities in link text .

+4
source

I don’t know if this was mentioned in the About.com article, but I think it’s worth mentioning that the hyperlink in TRichEdit only works if TRichEdit itself is directly placed in the form (not in the panel).

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

+3
source

Richedit in Infopower supports hyperlinks.

+1
source

Source: https://habr.com/ru/post/1276872/


All Articles