View.Colors.Face

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

jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

View.Colors.Face

Post by jeffp »

I see in 2.5 the View.Colors.Face property behave differently. In particular, the area behind the document tabs just below the main toolbars and the area behind the Page, Bookmark, etc., tabs stay a dark gray despite what color is set in View.Colors.Face. Before, these areas took on the colors of the lower part of the toolbar region. Is there a way to go back to how it used to be before 2.5? I'm setting the Face color to a very light blue which comes though nicely on the toolbars, but then there appears a big dark gray space behind the document tabs which doesn't look real good in a blue theme.

I also noticed that if I set View.Colors.Face to a darker color, the color seems to come through in the AppWorkSpace area. Which is weird because there is a separate call for this, that is View.Colors.AppWorkspace.

Lastly, when I tried View.Colors.Window it colored the PagesBack areas. Again, in the help there is a View.Colors.PagesBack call for this.

I just wondering if these View.Colors got inadvertantly messed up a bit in the first cut of 2.5.

See that attached file for screens shots showing what I mean.
You do not have the required permissions to view the files attached to this post.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: View.Colors.Face

Post by Vasyl - PDF-XChange »

Hi, jeffp.

In the new build (upcoming) you will be able to switch off the top/bottom shadows on the main dark-gray background:
ctrl.SetProperty("View.ShowAppWorkspaceShadow", "false", 0);
and optionally change the main background style:
ctrl.SetProperty("View.AppWorkspaceStyle", textureIndex, 0); // 0 - solid, 1 - 9 - textured
---
In the current build you may change color of main background (dark-gray by default) by:
ctrl.SetProperty("View.Colors.AppWorkspace", <RGB_Color>, 0);
---
Note: the old property "View.Colors.PagesBack" is obsolete in the new version (>= build 188), the current release uses one background in non-document- and document- areas.

Best
Regards.
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.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: View.Colors.Face

Post by jeffp »

So are you saying that the area behind the document tabs is actually part of the AppWorkSpace? Again, I'm not concerned about the AppWorkspace color behind the PDF page that is being displayed. I just want the dark gray color removed from behind the document tabs that appear just below the main toolbars.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: View.Colors.Face

Post by Vasyl - PDF-XChange »

Hi, jeffp.

In the new build (upcoming) you will be able to use the new property to switch on/off the tab bar background transparency:

Code: Select all

ctrl.SetProperty("View.TransparentTabBar", "false", 0);
Best
Regards.
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.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: View.Colors.Face

Post by jeffp »

Will this also affect the Pages, Bookmarks, etc, tab area as well on the left hand panel?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: View.Colors.Face

Post by Vasyl - PDF-XChange »

Hi, jeffp.
Will this also affect the Pages, Bookmarks, etc, tab area as well on the left hand panel?
No, for main Tab-Bar background only..
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.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: View.Colors.Face

Post by jeffp »

Will there be anything to control/remove the dark gray color behind the Pages, Bookmarks, tabs?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: View.Colors.Face

Post by Vasyl - PDF-XChange »

Hi, jeffp.

You may try change the main background color to more light color:

Code: Select all

ctrl.SetProperty("View.Colors.AppWorkspace", RGB(192,192,192), 0); // -2 value means "Auto", based on the current "Face" color
Sorry, but no more methods to change background color behind the Pages, Bookmarks, tabs..
Wait for V3 to more control on the UI.

HTH.
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.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: View.Colors.Face

Post by jeffp »

Ok. This should be ok for now.

Also, were View.TransparentTabBar and View.ShowAppWorkspaceShadow supposed to work in build 189 or were you referring to the build after that.

I've got 189 and they don't seem to do anything is that build.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7371
Joined: Wed Mar 25, 2009 10:37 pm

Re: View.Colors.Face

Post by Paul - PDF-XChange »

Hi jeff,

do you need anything more done in this thread?
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: View.Colors.Face

Post by Vasyl - PDF-XChange »

Hi, jeff.

The View.TransparentTabBar and View.ShowAppWorkspaceShadow properties should be working correctly in 189 build. Please let me known if not and give me example code in this case...

Best
Regards.
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.
jeffp
User
Posts: 923
Joined: Wed Sep 30, 2009 6:53 pm

Re: View.Colors.Face

Post by jeffp »

My bad. I had ShowAppWorkspaceShadow spelled wrong. It all seems to work fine now. Sorry for the bother.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: View.Colors.Face

Post by Stefan - PDF-XChange »

:)