When right clicking in a cell, I require the cell to change background color.
If the cell is already selected, the color change works well.
If I right click on any other cell, the change still happens to the originally selected cell.
If I use the left click, the cell selection changes to the cell I clicked and the color changes correctly.
I want to use the left button to highlight the cell for data input and the right button to change the color.
Is this an intrisic flaw in mshflexgrid? is there an easy fix?
I have tried in mousedown, mouseup and doubleclick, all to no avail.
If the cell is already selected, the color change works well.
If I right click on any other cell, the change still happens to the originally selected cell.
If I use the left click, the cell selection changes to the cell I clicked and the color changes correctly.
I want to use the left button to highlight the cell for data input and the right button to change the color.
Is this an intrisic flaw in mshflexgrid? is there an easy fix?
I have tried in mousedown, mouseup and doubleclick, all to no avail.