I have put this question up before and never got a reply so i'm writing it again and hopefully making it a bit easier to understand in the hopes that someone will know what i'm on about.

I have a Datagrid and have inherited the DataGridTextBoxColumn class and have overriden the Paint method so that I can change the background color and font, like so....

Code:
    Protected Overloads Overrides Sub Paint(.. loadsa stuff...)

        If Not (e.backBrush Is Nothing) Then
            backBrush = e.BackBrush
        End If

        If Not (e.ForeBrush Is Nothing) Then
            foreBrush = e.ForeBrush
        End If
This was taken from some very helpfull tutorials on the internet... I also want to change the color of the selected textboxes background color when the textboxes are read only.... the background of the cell is now a nice blue but the actual textbox itself is grey when clicked on. I was wondering how I can do this....

Please Help!!!!