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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Applied colors don''t update until form focus

Thread ID:





79252 Jan 27,2009 09:09 AM UTC Feb 5,2009 11:37 AM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On January 27, 2009 09:09 AM UTC

I'm still evaluating your product at this time.

I built a mdi application where a dialog window opens up using form.showdialog, which will allow user to select custom color. After selection of color, I apply the color to the managed components. The forms/controls don't update to the new color until the form comes into focus.

Although the colors do eventually update, I would hope that they would update before becoming into focus and doing a repaint, it looks kind of cheesy, although functional. Any possible work-around.


Fathima Shalini P [Syncfusion]
Replied On February 5, 2009 11:37 AM UTC

Hi Terry,

Thank you for evaluating Syncfusion products.

I am able to reproduce the issue that the custom colors are applied once the form is focused. This issue can be avoided by setting the customer color of the MainForm in the ColorPickerUI control's picked event. Please refer to the sample given below:


Please let me know if any concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon