Disabling the Control

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
prime clinical systems
User
Posts: 190
Joined: Sun Aug 05, 2012 5:20 pm

Disabling the Control

Post by prime clinical systems » Fri May 17, 2019 2:37 pm

Hi, is there some easy command that disables the entire control, like pdfctrl.enabled = false, which does not exist, something equivalent to that? There are times when I do not want to the user to be able to edit anything with tool bar visible, without the need to individually disable all the buttons. Thanks

User avatar
Sasha - Tracker Dev Team
User
Posts: 4217
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team » Mon May 20, 2019 2:15 pm

Hello prime clinical systems,

From what I know, there is no property or methods like that.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 190
Joined: Sun Aug 05, 2012 5:20 pm

Re: Disabling the Control

Post by prime clinical systems » Tue May 21, 2019 2:02 pm

Hi, well, the viewer control had that property, and I would like to see that added if possible, thanks

User avatar
Sasha - Tracker Dev Team
User
Posts: 4217
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team » Tue May 21, 2019 2:03 pm

Hello prime clinical systems,

Will forward this to our lead devs for consideration.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

User avatar
Sasha - Tracker Dev Team
User
Posts: 4217
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team » Wed May 22, 2019 6:54 am

Hello prime clinical systems,

Try using this code:

Code: Select all

pdfCtl.Frame.Obj.Enable(false);
Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply