trichview.com

trichview.support




Re: URL to another website opening in a new page


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/25/2003 19:35:25


Hi,


Since you are a registered user, you can use the last version of the

component.

It has a new event OnWriteHyperlink that supersedes OnURLNeeded.


procedure TForm3.RichViewEdit1WriteHyperlink(Sender: TCustomRichView;

  id: Integer; RVData: TCustomRVData; ItemNo: Integer;

  SaveFormat: TRVSaveFormat; var Target, Extras: String);

begin

  Target := PChar(RVData.GetItemTag(ItemNo));

  if SaveFormat=rvsfHTML then

      Extras := 'target=_blank';

end;




> Hi,

>

> I'am creating (like some other people I guess) a program for website

maintenance.

>

> It works VERY well with the richview component but .. I have a little

question.

>

> How can I create a hyperlink to another website opening a new page.

Creating a

> link is not the problem but when using frames I want to set the target of

the

> new page (like _blank or _parent)

>

> How can I do this ?

>

> Thnx

>

> ED

>





Powered by ABC Amber Outlook Express Converter