trichview.support
Re: URL to another website opening in a new page |
Author |
Message |
Edwin Dirkzwager |
Posted: 09/25/2003 22:27:48 Hi Sergey, I just downloaded V 1.7.24 I do not see the event OnWriteHyperlink .. or did I miss something. Thnx Sergey Tkachenko wrote: > 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