CommandBars Theme |
Post Reply |
Author | |
luiz.arantes
Newbie Joined: 31 July 2012 Location: Belo Horizonte Status: Offline Points: 2 |
Post Options
Thanks(0)
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.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
There was a link in the release notes:
|
|
luiz.arantes
Newbie Joined: 31 July 2012 Location: Belo Horizonte Status: Offline Points: 2 |
Post Options
Thanks(0)
|
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. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Try something like Tabworkspace.Paintmanager.ClientMargin
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |