Hi
A popup menu has an item to delete a row from a StringGrid. This actually works, deleting the selected row:
Grid.DeleteColRow(False, Grid.Row);The problem is that mouse right-click didn't select the row (or cell actually) under the mouse pointer. The selected row can be somewhere far from the mouse pointer and thus deleting it is not what user expects.
I remember I had to do something complicated with VirtualTreeView on Delphi in a similar situation.
This seems like a common situation. Is there any easy solution?
Juha
