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

Applied colors don''t update until form focus

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.

Thanks



1 Reply

FS Fathima Shalini P Syncfusion Team 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:

http://websamples.syncfusion.com/samples/Tools.Windows/F79252/main.htm

Please let me know if any concerns.

Regards,
Fathima


Loader.
Live Chat Icon For mobile
Up arrow icon