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.
Unfortunately, activation email could not send to your email. Please try again.

Applied colors don''t update until form focus

Thread ID:





79252 Jan 27,2009 04:09 AM Feb 5,2009 06:37 AM Windows Forms 1
Tags: Tools
Administrator [Syncfusion]
Asked On January 27, 2009 04:09 AM

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 06:37 AM

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.

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.