Print Page | Close Window

CommandBars Theme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=20006
Printed Date: 22 November 2024 at 9:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBars Theme
Posted By: luiz.arantes
Subject: CommandBars Theme
Date Posted: 31 July 2012 at 8:09am
Hi everyone,
 
In the Xtreme SuitePro ActiveX  version 2009 Vol 4 (13.4.0) I used this code snippet to set the theme of my application:
 
Select Case idTheme
    Case ID_GALLEY_THEME_1:    'White
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeWt.dll"
    Case ID_GALLEY_THEME_2:    'Black
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeScn.dll"
    Case ID_GALLEY_THEME_3:    'Blue
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeBl.dll"
    Case ID_GALLEY_THEME_4:    'Aqua
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeAq.dll"
    Case ID_GALLEY_THEME_5:    'Silver
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeSlr.dll"
    Case ID_GALLEY_THEME_6:    'Black
        CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeBlk.dll"
    End Select
 
But now that I upgraded my CodeJock to the version Xtreme SuitePro ActiveX 2012 (15.3.1) this is not working anymore. And the program shows the following error message: "Object doesn't support this property or method" to this method: CommandBarsGlobalSettings.Office2007Images = App.Path & "\CompanyThemeWt.dll". What can I do to fix this problem?
 
Thanks.
 
P.S.: Sorry about my English, but I hope you understood my question.  



Replies:
Posted By: SuperMario
Date Posted: 20 August 2012 at 9:45am
There was a link in the release notes:
 
http://www.codejock.com/products/releasenotes/15.0.1/themes.asp -


Posted By: luiz.arantes
Date Posted: 20 August 2012 at 10:23am
It worked. Thanks.
But after changing the code, a new problem appeared. The border of the form is appearing thicker as seen in the image below:
 
http://forum.codejock.com/uploads/7578/err.jpg - http://forum.codejock.com/uploads/7578/err.jpg
 
How can I tune it?
Thank you again.


Posted By: SuperMario
Date Posted: 20 August 2012 at 10:41am
Try something like Tabworkspace.Paintmanager.ClientMargin



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net