General TRichView support forum. Please post your questions here
stuart
Posts: 8 Joined: Wed Jan 13, 2010 4:48 pm
Post
by stuart » Wed Feb 24, 2010 11:30 am
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: 17524 Joined: Sat Aug 27, 2005 10:28 am
Contact:
Post
by Sergey Tkachenko » Wed Feb 24, 2010 6:56 pm
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 » Thu Feb 25, 2010 10:53 am
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