Hello.
I've got a program with several StringGrids and need to implement *one* popupmenu for them all. Everything up till now works fine - even the popupmenu's but...
When I left-click on the grid the cell changes color ie receives focus.
When I right-clck on the grid the popupmenu appears.
So far, so good.
I can't get it to set the focus on the cell that is right-clicked - needed for the cut, copy & paste functions that I've still to write. That is, the cell doesn't change color (receive focus) when I right-click.
I've tried in OnMouseUp, OnMouseDown, OnDrawCell & OnSelectCell, with ssRight & mbRight.
I'm missing some point. Can anyone give me a nudge in the right (no pun intended) direction?
Thanks