Thanks very much Clay.
I will try the sample. Just FYI, I was talking about CurrentCellChanging event and not CurrentCellChanged. I don''t know if that makes any difference because I have not yet tested the CurrentCellChanged event. I wanted to convert the string in the cell before the content is applied on its own. So, I thought the obvious choice would be in the CurrentCellChanging event rather than the CurrentCellChanged event. Thanks again for the prompt help.
Babu.
>Since not all colors have names, if you want to store teh color as a string, then I think you will probably have to store the r,g,b string containing numbers. Here is a sample that uses CurrentCellCloseDropDown and CurrentCellValidating to manage this.
>
>The CurrentCellChanged event does appear to fire twice like you say as the control sets the color empty before its sets it to the chosen color. But I still see the event fired (twice) when I change it a second time. I only see the evnt fired once with the combobox cells.
>
>
Here is a sample.
>
>