The 2013 styles are causing trouble with form border and title bar when switching back to non-2013 styles, the poly pager is not picking up all 2010/2013 styles correctly. To test do the following:
- From the wizard create a new "TMS Office 2010 ribbon application".
- Add an AdvAppStyler and an AdvFormStyler to the main form.
- Connect the form styler to the app styler.
- For both stylers set AutoThemeAdapt to "true".
- Add an AdvPolyStyler to the custom area of the form, add a page to the pager.
- In the AdvToolBar add 4 buttons with caption "2003", "2007", "2010" and "2013".
- For the 4 buttons' "OnClick" events set the following code, one line per button:
- (2003 button) AdvFormStyler1.Style := tsOffice2003Olive;
- (2007 button) AdvFormStyler1.Style := tsOffice2007Obsidian;
- (2010 button) AdvFormStyler1.Style := tsOffice2010Blue;
- (2013 button) AdvFormStyler1.Style := tsOffice2013LightGray;
Run the application... when clicking the 2003 and 2007 buttons forth and back, the application nicely changes style. When clicking the 2010 button, all but a part of the poly pager changes correctly. When clicking the 2013 button the pager is not updated properly. After the 2013 style was applied, going back to a pre-2013 style introduces an (inactive!) form border and title bar.
Also I am not able to fully apply styles to dialog forms, the form border and title bar are always shown and are default blue. Is there an option I am missing? Thanks for your help!
Note: using the latest component versions under Delphi XE.