Columns selected

WIN 7/64
Delphi 10 Seattle
AdvStringGrid 7.9.2.2

I'd like to check, with columns are selected.
I select some columns during runtime.
With selected columns I wanted to do some work.

It seems, that ColSelect doesn't work.

My test:


 for i := 0 to SG.ColCount -1 do begin

    if SG.ColSelect then begin
      SG.Cells[i, 2] := 'sel';
    end
    else begin
      SG.Cells[i, 2] := '--';
    end;
  end;

What is wrong?

ColSelect is only used when disjunct column selection is enabled.
When it is not, please use grid.Selection: TGridRect;