TSRichViewEdit Insert a hyperlink to a cell

General TRichView support forum. Please post your questions here
Post Reply
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

TSRichViewEdit Insert a hyperlink to a cell

Post by wolf1860 »

A TSRichViewEdit(in a frame),I set its externalRVStyle property, and use the codes to insert a hyperlink to jump to a url.

table.Cells[4, 1].AddNL('http://www.wolf1860.com',4,-1);

when click the hyperlink,it just open my application's root directory automatically,but not run the TSRichviewEdit.onjump event.

How should I do?

thanks!
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TSRichViewEdit Insert a hyperlink to a cell

Post by Sergey Tkachenko »

By default, clicking on a hyperlink does nothing, it should not open anything. So I think some code in your application reacts on clicking.

Please send me a sample project reproducing the problem.
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

Re: TSRichViewEdit Insert a hyperlink to a cell

Post by wolf1860 »

Sorry,I forgot that there was a default method to handle the click event,so everything is ok:) thanks!
Post Reply