Disabling "Add Reply" command

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Disabling "Add Reply" command

Post by ugradedeveloper »

In my application, I am disabling the Add Reply command by using the following:
SetProperty("Commands[\"AddReply\"].State", "Offline", 0);

This works as expected, in that the Add Reply command is disabled when you bring up a context-menu for a comment.

However, if you activate the Comments Pane and select a comment in that pane, you can use the Add Reply button which appears in the little bar at the top of the pane. I haven't tested to see whether there is a similar issue with, say, the Delete command, although I expect the same type of issue would arise.

[I have noticed, however, that if I set the "ReadOnly" property to true, it works as expected - the Add Reply and Delete buttons in the Comments pane are disabled. So, good job there.]

Please consider this a bug report, although a minor one.

Thanks!
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Disabling "Add Reply" command

Post by Corwin - Tracker Sup »

Hello ugradedeveloper.
Must admit that for the "AddReply" commmand in the Comments pane we have another ID (33245). It's not the same as the "Add Reply" command in the popup menu (33174).

HTH.
ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Re: Disabling "Add Reply" command

Post by ugradedeveloper »

Ah, OK. Then it is a fairly simple matter for me to add the code to disable that command also.

Thanks.