trichview.support
Re: HTML Links from within a table |
Author |
Message |
Yernar FoxTail |
Posted: 11/29/2002 8:57:23 The following example gets the tag of hyperlink (anywhere): procedure TSearchMainForm.DocRichViewJump(Sender: TObject; id: Integer); var ItemNo, HyperTag: Integer; RVData: TCustomRVFormattedData; begin DocRichView.GetJumpPointLocation(id, RVData, ItemNo); HyperTag := RVData.GetItemTag(ItemNo); ... (anything) end; Hope it helps. "Ben Vaughan" <[email protected]> wrote: >Hi, >I have a problem exporting the links to an html file. Currently I am using >the following code to get the url for the URLNeeded event. > > urlLoc := rvEditor.GetItemTag(Sender.GetJumpPointItemNo(id)); > url := PChar(urlLoc); > >This works fine until I try to get a url from within a table cell. >From what I can tell Sender.GetJumpPointItemNo returns the Item ID for the >number within the editor for the cell so passing this into the main editor >is obviosly failing. > >Regards > >Ben Vaughan |
Powered by ABC Amber Outlook Express Converter