Hi,
I'm trying to create a row hover effect.
I'm using the mouseEnter and mouseLeave events.
In mouseEnter, I change the CellBackColor for all the cells in the row.
In mouseLeave, I change the CellBackColor back to normal.
It's actually amazing how fast this works...
The only problem is a bit of flickering, as you might guess, when moving the mouse horizontally over the cells within the same row.
I made another version without using MouseLeave: in MouseEnter, if the row has changed I clear the old hover row and set the new one. This works fantastic (no flickering of course), but the row remains 'hovered' when the mouse moves outside the geography of the grid.
Is there a better way?
Alex