We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Office 2007 Controls on form not updating

Another issue I'm having with applying office2007themes to forms/controls.

I have a Mainframebarmanager and Statustripex1 on a form. Of couse I have the form set to inherit Office2007form per 'Inherits Syncfusion.Windows.Forms.Office2007Form'

Everything is set to managed. But when I apply a theme via 'Syncfusion.Windows.Forms.Office2007Colors.ApplyManagedScheme(Me, Syncfusion.Windows.Forms.Office2007Theme.Silver)', the form updates but the controls do not.

Should not the Office2007 controls update also. I threw the ribbon control on a form for the fun of it, same issue. the form updated, but the ribbon control did not.



1 Reply

FS Fathima Shalini P Syncfusion Team January 29, 2009 01:54 PM UTC

Hi Terry,

Thank you for your interest in Syncfusion Products.

When we set Office2007ColorScheme using ApplyManagedScheme() method for Office2007Form, it will not affect the controls inside the form. You need to externally set the OfficeColorScheme foreach control as given below:


Office2007Colors.ApplyManagedScheme(this, Office2007Theme.Silver);
this.statusStripEx1.OfficeColorScheme = Syncfusion.Windows.Forms.Tools.ToolStripEx.ColorScheme.Silver;
this.mainFrameBarManager1.Office2007Theme = Office2007Theme.Silver;


Please let me know if any concerns.

Regards,
Fathima


Loader.
Live Chat Icon For mobile
Up arrow icon