How to Implement Custom Hyperlink Handling in TRichView with Delphi?
Posted: Sat May 31, 2025 8:43 am
Hi all,
I’m using TRichView in a Delphi 11 project to display rich text with hyperlinks. I want to implement custom hyperlink handling so that clicking a link triggers a specific action in my app (e.g., opening a custom form) instead of the default browser. I’ve looked at the OnRVHyperlink event, but I’m struggling to get it working correctly.
Can anyone share a code example or explain the best way to handle custom hyperlink clicks in TRichView? I’m using the latest TRichView version (21.x). Any help or pointers would be greatly appreciated
I’m using TRichView in a Delphi 11 project to display rich text with hyperlinks. I want to implement custom hyperlink handling so that clicking a link triggers a specific action in my app (e.g., opening a custom form) instead of the default browser. I’ve looked at the OnRVHyperlink event, but I’m struggling to get it working correctly.
Can anyone share a code example or explain the best way to handle custom hyperlink clicks in TRichView? I’m using the latest TRichView version (21.x). Any help or pointers would be greatly appreciated