>>I found, that one of the form was using different class from different classlibrary.
>>
>>My grid class has HightlightBackColor set to 182,202,234 and it looks like a default setting. That grid class uses 49,106,197 and it also looks like a default. I think, it depends on if the grid is in Read Only mode or not. I also just found, that the developer set that property for the particular form. I guess, I have to set this color to dark blue in my grid class so the colors match, though I do not like to change visual appearance. Or I need to discuss it with the manager first...
>>
>
>It shouldn't matter if the grid is read only or not, unless you're looking at the DynamicBackColor instead of the HighlightBackColor. But since, as you point out, one of the forms is using a different class from a different library, that class probably has a different default setting. You'd have to open the class itself to confirm that.
Hi Barbara,
I wanted to get to the root of the problem. First of all, where this color is coming from? I changed grid to not use Themes, but it didn't affect the HighlightBackColor. And the strangest thing is that the other grid class is based on the cGrid class, which is the exact same class I based my class. The class called cGridList has 49,106,197 in its HighlighBackColor and it is default setting, e.g. it is not in bold, like with other changed properties. But my setting is also a default one. I do not understand, how it can be...
If it's not broken, fix it until it is.
My Blog