Office 2007 Theme
Hello,
I've looked everywhere and can't find out how to set the report explorer
to a specific theme via code. I'm using version 11.04 of RB and D-2007. I
would like to set the theme to Office 2007 using Black via code at runtime
and have no interest in using the .ini file. Can someone help?
Thanks,
Mike
I've looked everywhere and can't find out how to set the report explorer
to a specific theme via code. I'm using version 11.04 of RB and D-2007. I
would like to set the theme to Office 2007 using Black via code at runtime
and have no interest in using the .ini file. Can someone help?
Thanks,
Mike
This discussion has been closed.
Comments
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
When I try to use that I get an exception and also I don't understand how
I would instruct it to use the "black" color scheme of the Office 2007
theme.
When I do the following, I get an exeception when calling SetCurrentTheme.
TppThemeManager.SetCurrentTheme('Office2007');
ppRptExplorer.Execute;
Thanks,
Mike
In my testing with the Report Explorer demo, I was able to change the theme
without any errors in the FormCreate event.
To adjust the sub-theme of the Office2007 theme, you can access the
ppOffice2007Scheme routine.
uses ppTBXOffice2007Theme;
---
TppThemeManager.SetCurrentTheme('Office2007');
ppOffice2007Scheme.UserScheme := usBlack;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
set the current theme it would throw an exception. I now set the current
theme and then reparent and all works great. Thank you for your help.
Mike