Row selection color


I use TADVstringgrid version

I would change the color of the multiselectedrows (disjunctrowslelect)

When Showselection set to true, the disjunct selected row have at the bottom the selection color (SelectionColor) but at the top of the Row there is Always a Gray color.

I haven't find the property to change this color in spite of my many research.

(For information when Showselection set to false, the bottom color don't change but the top color of the row is anew the gray color that we always find)

Have you any Idea?

Thank's for your respond.


I cannot see an issue when using a default TAdvStringGrid on the form initialized with:

procedure TForm4.FormCreate(Sender: TObject);
  advstringgrid1.MouseActions.DisjunctRowSelect := true;
  advstringgrid1.Options := advstringgrid1.Options + [goRowSelect];
  advstringgrid1.SelectionColor := clRed;

so, how exactly can we reproduce this issue?

I don't anderstand because you right :)

I take my Stringgrid put it in a new Forms (only the component not the source code) and the property selectionColor taking effect.

So what can i do wrong in my code that disabled the using of selectioncolor.
I just add some rows (in code) and use node (node are not used in my test when i put the stringgrid in a new form)

In any case my selctioncolor stay always gray.

Thank's for your help.