trichview.support
Re: HTML links in table content |
Author |
Message |
Sergey Tkachenko |
Posted: 01/08/2003 17:28:15 You need to process OnURLNeeded event. In this event you need to return URL target: procedure TfrmMain.rveURLNeeded(Sender: TCustomRichView; id: Integer; var url: String); var ItemNo: Integer; RVData: TCustomRVFormattedData; begin rve.GetJumpPointLocation(id, RVData, ItemNo); url := PChar(RVData.GetItemTag(ItemNo)); end; > > When I make the contents of a table cell into a link (eg rve.SetItemTagEd(i,Integer(StrNew(PChar(URL))));) > I can set the tag OK but when I do SaveHTMLToStreamEx I do not get the link > in the HTML output. In fact if I check the tag property of the table cell > content later(outside the procedure where I set it) the tag is lost. How > can I keep the tag value and export it to HTML? > > A related point, how do I know if the item returned by GetCurrentItem is > an entry in a table? > > Any help would be very welcome. > > Chris |
Powered by ABC Amber Outlook Express Converter