Hi there,

How could I get the value of the BackColor property of the current cell in the datagrid? I'm thinking of using mouse click event to play with BackColor property of the cell.

The idea is shown:
Code:
Mouse_Down_Event( )
{
     if( MyGrid.CurrentCell.BackColor == Color.Red)
         MyGrid.CurrentCell.BackColor = Color.White
     else
         MyGrid.CurrentCell.BackColor = Red
}
I tried to override Paint() method, and work with the properties of the cell through Paint() method but it didn't work.
I tried to play around the textBox object's properties, but it didn't work.

Could anyone help me please?

*I don't mind to use either DataGrid object or FlexGrid object.

Have an enjoyable cup of coffee .
illy Maker