TRIschEdit and active link to a local file

General TRichView support forum. Please post your questions here
Post Reply
redbeardster
Posts: 1
Joined: Sun Aug 19, 2012 3:23 pm

TRIschEdit and active link to a local file

Post by redbeardster »

Hello!
I'd like to implement the following : I have a file on a local hard disk and want to insert an active link to TRichEdit component that will refer to this file. Is it possible and how it can be accomplished?

Thanks in advance.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Hello,

The standard code for hyperlinks (in ActionTest of RichViewActions, or in Demos\*\OfficeConverters\) stores the link target in the item tag, and processes OnJump event to call ShellExecute.
This method works both for URLs and local files.
Post Reply