Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBars Theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBars Theme

 Post Reply Post Reply
Author
Message
luiz.arantes View Drop Down
Newbie
Newbie


Joined: 31 July 2012
Location: Belo Horizonte
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote luiz.arantes Quote  Post ReplyReply Direct Link To This Post Topic: CommandBars Theme
    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.  
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2012 at 9:45am
There was a link in the release notes:
 
Back to Top
luiz.arantes View Drop Down
Newbie
Newbie


Joined: 31 July 2012
Location: Belo Horizonte
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote luiz.arantes Quote  Post ReplyReply Direct Link To This Post 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:
 
 
How can I tune it?
Thank you again.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2012 at 10:41am
Try something like Tabworkspace.Paintmanager.ClientMargin
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.