Page 1 of 1

TSRichViewEdit Insert a hyperlink to a cell

Posted: Sun Feb 23, 2020 7:58 am
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!

Re: TSRichViewEdit Insert a hyperlink to a cell

Posted: Sun Feb 23, 2020 8:57 am
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.

Re: TSRichViewEdit Insert a hyperlink to a cell

Posted: Sun Feb 23, 2020 9:41 am
by wolf1860
Sorry,I forgot that there was a default method to handle the click event,so everything is ok:) thanks!