Next / Previous comment

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Sean - Tracker, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
AndreaCCS
User
Posts: 51
Joined: Wed Jun 16, 2010 2:54 pm

Next / Previous comment

Post by AndreaCCS » Mon Apr 16, 2018 4:31 pm

I want to be able to go to the next or previous comment (markup) in the document. I have found the commands 33238 and 33239 but they always say the command is disabled at this time. How can I make them work? If I manually select the first comment then the commands work but as the comment can be on any page this is not a good solution.
Andrea

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13188
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Next / Previous comment

Post by Tracker Supp-Stefan » Wed Apr 18, 2018 11:01 am

Hello AndreaCCS,

There commands will indeed require a 'starting point' - so you do need to have an annotation selected before you can go to the previous/next one. So you should check if there is an annotation selection, and if there isn't any - apply some other logic (e.g. check which page is currently displayed, if there are annotaitons on it, and if not - get the first annotation on a following page and go to it).

Regards,
Stefan

Post Reply