Links

General TRichView support forum. Please post your questions here
Post Reply
stuart
Posts: 8
Joined: Wed Jan 13, 2010 4:48 pm

Links

Post by stuart »

Must be my day for silly questions.

I am OK with adding a link using rvEdit.InsertStringTag('New link', Integer(StrNew(PChar(Target))), however, I would like the link to open in a new browser window. Is there anyway I can do that?

Thanks in advance

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

Post by Sergey Tkachenko »

Process OnJump event, call ShellExecute to open the link.
For example, see the demo in Assorted\Hypertext\CreateHyperlink\
stuart
Posts: 8
Joined: Wed Jan 13, 2010 4:48 pm

Post by stuart »

Sergey

Thanks for your assistance, but it was opening a new browser from the save email.

I figured it out by adding Extras := 'target=_blank'; to OnWriteHyperlink

Many thanks

Stuart
Post Reply