trichview.com

trichview.support




Re: URL to another website opening in a new page


Return to index


Author

Message

chris

Posted: 09/25/2003 21:14:13


I did it this way (see below)...

chris


procedure TForm1.RichViewEdit1URLNeeded(Sender: TCustomRichView;  id:

Integer; var url: String);

var RVData: TCustomRVFormattedData;

    ItemNo: Integer;

begin

  RichViewEdit1.GetJumpPointLocation(id, RVData, ItemNo);

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

  if NewbrowserCheck.Checked then

  begin

      URL:=URL+'" target="_blank';

  end;

end;

*********************


"Edwin Dirkzwager" <info@cipsoft.nl> schrieb im Newsbeitrag

news:3f730361$1@support.torry.net...

> 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