TStringGrid - making two events


2003-08-31 04:46:31 AM
cppbuilder95
I need to bind some function to clicking at TStringGrid; user clicks on it,
OnMouseDown event kicks in, I find the cell he clicked and act according to
the situation.
Unfortunatley, there's a problem... no cells should be selected.
It is usally done by making CanSelect false in OnSelectCells function, but
in my case, OnSelectCells doesn't launch after OnMouseDown, and cells get
selected. I tried to force deselect them in OnMouseDown - they get selected
anyway :(
Is there any solution?