>I'm trying to set the highlight for the selected row in a grid to have white characters on a blue background. I have set this as follows
>
.HighlightStyle = 2
>.HighlightBackColor = RGB(0,0,255)
>.HighlightForeColor = RGB(255,255,255)
>This works fine, except when the the user has selected a cell ... in which case, I get the correct back color (blue), but the forecolor, for the selected cell only, turns to black (making it essentially unreadable).
>
>It appears that SelectedItemBackColor and SelectedItemForecolor are not relevant here.
>
>What am I missing?
>
>Thanks in advance
Right. They are controlled on the cell's level.
If it's not broken, fix it until it is.
My Blog