I added to the grid a context menu strip.
After the user right clicks, and chooses a function from the menu, I want to do the function on
the row, on which theuser right click.
But the thing is that this row doesnt get activated. An so when I use ActiveRow I dont get the right row.
I would like to activate the row, on which the user right clicked.
This should be easy enough to do in the MouseDown event of the grid. You just set the ActiveRow property.
The only part of this that might be a tiny bit tricky is determining the row that was clicked. How to do this is explained here: HOWTO:UltraWinGrid Mouse Position and Row Identification