Page 1 of 1

Links

Posted: Wed Feb 24, 2010 11:30 am
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

Posted: Wed Feb 24, 2010 6:56 pm
by Sergey Tkachenko
Process OnJump event, call ShellExecute to open the link.
For example, see the demo in Assorted\Hypertext\CreateHyperlink\

Posted: Thu Feb 25, 2010 10:53 am
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