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.
Syncfusion Feedback

SelectedColor does not change color in ColorPickerButton

Thread ID:

Created:

Updated:

Platform:

Replies:

13165 Apr 21,2004 12:05 PM Apr 21,2004 05:39 PM Windows Forms 1
loading
Tags: Tools
Aaron Jackson
Asked On April 21, 2004 12:05 PM

I have a form, on the form is a list and a couple color picker buttons. When the user changes their selected item in the list, it changes the value of SelectedColor in the ColorPickerButton. There''s no additional magic, it simply calls "button.SelectedColor = foo ;" The first time I bring this up it works fine. Lets say my list has "White, Red, Blue". I select the second item in my list, and I choose "Green". So I left with the palette open and on Green. I now select blue and on doing so it calls "button.SelectedColor = foo ;" where foo is going to be blue. The palette comes up with Green selected in the palette. If I switch to standard colors it takes me to green, so the UI clearly thinks it should be using green. I figured something was wrong so I set an event handler for Click. When Click occurs, I take a look at the button in the debugger and SelectedColor is set to Blue. I look at the ColorUI.SelectedColor and it is also Blue. So I''m guessing there''s some step that I missed somewhere, but I''m really not certain where it is. Any ideas?

Administrator [Syncfusion]
Replied On April 21, 2004 05:39 PM

Hi Aaron, According to my understanding you are referring to the selection rectangle issue here. The selection rectangle does not correctly highlight the selected color when the SelectedColor property is assigned. This is a known issue and we have an open QA report #393 in this regard. I have updated it on your behalf, and we will try our very best to fix this issue at the earliest. We appreciate your feedback, and thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

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.

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

;