I have created a TStringGrid. If the user Right Clicks anywhere on the grid and then uses the mouse wheel down, it triggers a Grid Index Out of Range error (EInvalidGridOperation).
If instead the user left clicks on the grid, the grid scrolls normally with the mouse wheel down.
I have tried to trap the error and handle it but I am unable to trace it. As soon as the program exits the OnMouseWheelDown event procedure, the error occurs.
I have tried forcing a cell select on the grid when a right click occurs but this doesn't help either.