Disabling edit form in the command bar  SOLVED

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
DeKo
User
Posts: 56
Joined: Thu Sep 28, 2017 9:45 am

Disabling edit form in the command bar

Post by DeKo »

Hello again!

I hope its okay to open seperate topics for each of my problems. I couldn't find anything the forums regarding my problems... so please bear with me a bit! :)

This should be relative easy to solve, but i just couldn't find it... How can i disable the "edit form" (in the picture its "Formular bearbeiten") button?
toolbar example.png
Greetings,
Dennis
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling edit form in the command bar

Post by Sasha - Tracker Dev Team »

Hello Dennis,

There are many topics on this one, for example:
viewtopic.php?f=66&t=25911&p=101250&hil ... nd#p101250

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
DeKo
User
Posts: 56
Joined: Thu Sep 28, 2017 9:45 am

Re: Disabling edit form in the command bar

Post by DeKo »

Hello Alex,

im sorry if i wasn't clear. I have problems disabling the specific "Edit form" Button. I looked that up in the Full Demo, but when i disabled all command bars, that button was the only one remaining. In the meantime i at least found the cmd for it (cmd.tool.editFields).

See settings in FullDemo:
edit form.png
How can i find out which bar the cmd is in? Would appreciate some help here!

Greetings,
Dennis

EDIT: Added attachment.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling edit form in the command bar  SOLVED

Post by Sasha - Tracker Dev Team »

Hello Dennis,

The only way is to recursively run through all of the bars and find the command itself.
You can also see the command bar tree in the View tab that is being drawn dynamically - it will be helpful for your logic.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
DeKo
User
Posts: 56
Joined: Thu Sep 28, 2017 9:45 am

Re: Disabling edit form in the command bar

Post by DeKo »

Hello Alex,

thank you very much! This helped. :)

Greetings,
Dennis
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disabling edit form in the command bar

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply