Disabling the Control

PDF-XChange Editor SDK for Developers

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

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: 211
Joined: Sun Aug 05, 2012 5:20 pm

Disabling the Control

Post by prime clinical systems »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team »

Hello prime clinical systems,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
prime clinical systems
User
Posts: 211
Joined: Sun Aug 05, 2012 5:20 pm

Re: Disabling the Control

Post by prime clinical systems »

Hi, well, the viewer control had that property, and I would like to see that added if possible, thanks
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team »

Hello prime clinical systems,

Will forward this to our lead devs for consideration.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling the Control

Post by Sasha - Tracker Dev Team »

Hello prime clinical systems,

Try using this code:

Code: Select all

pdfCtl.Frame.Obj.Enable(false);
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply