unselect properly cell

Hi,


I have two advStringGrid in my form.
Only one cell of the two table must be actived. The user must not view two cell active.

I have not found how to unselect the active cell (Table.Row and Table.Col are always affected.
This is why, when I selected a cell in the table A, I selected the fixed cell [0,0] in the table B.
But since the  7.0.0.0 version of AdvStringGrid this don't work correctly.

My question is :
How to unselect the active cell (displayed and used) ?

Thanks, Nicolas

Did you try to set

grid.ShowSelection = false?

Thanks for the answers.


But this solution only hides the selected cell.

Have you an another solution ?

Did you try something like:


procedure TForm4.AdvStringGrid1Enter(Sender: TObject);
begin
  advstringgrid1.ShowSelection := true;
end;

procedure TForm4.AdvStringGrid1Exit(Sender: TObject);
begin
  advstringgrid1.ShowSelection := false;
end;