GoToBookmark by it's name

General TRichView support forum. Please post your questions here
Post Reply
Martian
Posts: 95
Joined: Sun Apr 03, 2011 7:32 pm

GoToBookmark by it's name

Post by Martian »

What is the easiest way implement GoToBookmark(Target: String) ?
I mean if I have an URL like "http://www.web.com#anchor4" I would like to use GoToBookmark("anchor4").

Your sample assigns ItemNo when enumerating list of all bookmarks but if I don't want to show a list? I mean local jump.
I cannot leave just "#anchor4" as a link because I have my own internal links like "local://34#anchor4"
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RichViewActions have

Code: Select all

function GoToCheckpoint(rv: TCustomRichViewEdit; const CPName: String): Boolean;
in RichViewActions.pas
Post Reply