Document Toolbars Not Displaying  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.
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Document Toolbars Not Displaying

Post by jeffp »

I'm using the TPXV_Control and playing around with hiding and showing the toolbars.

However, I can't get the "Document Toolbars" to display. They are the ones that typically appear at the bottom of the main window for things like Page Layout and Page Navigation.

What must I do to enable these? When I go to View>>Toolbars, they show up as checked, but are not displaying.

Also, where I can find a description and comprehensive list of all the settings I can access like 'Docs.SingleWnd' and 'Docs.HideSingleTab' below.

FControl.Inst.Settings['Docs.SingleWnd'].v := False;
FControl.Inst.Settings['Docs.HideSingleTab'].v := False;

--Jeff
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Document Toolbars Not Displaying

Post by Vasyl-Tracker Dev Team »

Hi Jeff.

Try:

FControl.VisibleCmdPanes = true;

HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: Document Toolbars Not Displaying

Post by jeffp »

I am, but take a look a the attached screenshot and you'll see that the PageLayout and PageNavigation toolbar are not showing up.

Also, what about the list of properties like 'Docs.SingleWnd' ?

--Jeff
You do not have the required permissions to view the files attached to this post.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Document Toolbars Not Displaying

Post by Sasha - Tracker Dev Team »

Please check our the FullDemo solution - there is a sample on how to show and hide the Navigation and Layout bar.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: Document Toolbars Not Displaying

Post by jeffp »

I think there is an issue. See attached Example2.pdf attachment.

This is your compiled fulldemo that I ran on my Window7 computer. Take a look at the very bottom and you'll see the document toolbars are cut off. They don't fully show.

In the first screen shot I sent, which is my test demo, they don't show at all.

You're right that the

FControl.VisibleCmdPanes = true;

call should turn them on an off, but the doc toolbars are getting cut off.

Again, I'm using Delphi for my test demo.

--Jeff
You do not have the required permissions to view the files attached to this post.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Document Toolbars Not Displaying

Post by Sasha - Tracker Dev Team »

Hello Jeff,

Please resize the form itself - should work - easy as that. Also try using that in your Delphi app - the code should do the same.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: Document Toolbars Not Displaying

Post by jeffp »

Still won't work. Here is a simple Delphi Demo that will illustrate the issue.

I need the document toolbars to show at the bottom when a PDF is loaded.

Not sure what I'm missing here.

--Jeff
You do not have the required permissions to view the files attached to this post.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Document Toolbars Not Displaying  SOLVED

Post by Vasyl-Tracker Dev Team »

The correct code for you case(to show all top and bottom toolbars):

FControl.VisibleCmdPanes = PDFXEdit.PXV_VisibleCmdPanes.PXV_VisibleCmdPanes_All;

HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: Document Toolbars Not Displaying

Post by jeffp »

That was it. Thanks.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Document Toolbars Not Displaying

Post by Sasha - Tracker Dev Team »

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