如何使用 Delphi 在 TRichEdit 中添加超链接
How can I add a HyperLink in a TRichEdit
within VCL (using Delphi Programming Language).
I need to have something like:
"This is my text, click here to do something."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据这篇文章delphi.about.com
您可以添加自己的功能,如此处所述。
注意:Delphi 2009 刚刚发布,因此 TRichEdit 控件可能已更新为支持模式功能。
According to this article on delphi.about.com
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.
我不知道 About.com 文章中是否提到过,但我认为值得一提的是,只有 TRichEdit 本身直接放置在表单上(而不是面板中)时,TRichEdit 中的超链接才有效。
http://www.scalabium.com/faq/dct0146.htm
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