Button bug

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

Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

Button bug

Post by Rad1 »

Hi,

I can't disable or set offline this button :

ID : 33201
Name : CalloutTool
Adobe name : Annots:Tool:FreeTextCalloutMenuItem

I use the following code :

Code: Select all

PDFView.SetProperty("Commands[\"FreeTextCalloutMenuItem\"].State","Disabled")
or
PDFView.SetProperty("Commands[#33201].State","Disabled")
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Button bug

Post by Vasyl - PDF-XChange »

Please call:

Code: Select all

PDFView.SetProperty("Commands[\"CalloutTool\"].State","Offline");
or
PDFView.SetProperty("Commands[#33201].State","Offline");
-because "Disabled" state can be removed by controll in runtime.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.