trichview.com

trichview.support




Re: Hypertext in tables


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/11/2002 11:15:02


Jump IDs should be correct inside tables, all jumps are numbered in

ascending order, including jumps in tables.

The only limitation - you cannot use GetJumpPointItemNo for such jumps.

Use GetJumpPointLocation. GetJumpPointLocation can be used both inside and

outside tables:



// rvoTagsArePChars is in Options

procedure TfrmMain.rveJump(Sender: TObject; id: Integer);

var ItemNo: Integer;

    RVData: TCustomRVFormattedData;

    URL: String;

begin

  rve.GetJumpPointLocation(id, RVData, ItemNo);

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

  Application.MessageBox(PChar(URL), 'Link', MB_OK or MB_ICONINFORMATION);

end;



> Hypertext in tables are displaying properly in TRichViewEdit.  However the

> OnJump event is passing the wrong id.  It is passing the id of items

outside

> of the table?  It there a workaround to this?

>

> By the way, the more I know about this product, the better I like it.

Great

> work.

>

> Gabriel Padilla

> [email protected]

>

>

>





Powered by ABC Amber Outlook Express Converter