AdvDBGrid and sort with goColMoving

i've TMS Component Pack 8.4.2.0 and now grdCanSort event need  goColMoving = false to sort ! Ok and if i want to move col with mouse ?


Bye

I have retested this here with the latest version but I cannot see an issue to combine the use of column moving and sorting.

Test code:

procedure TForm1.DBAdvGrid1CanSort(Sender: TObject; ACol: Integer;
  var DoSort: Boolean);
begin
  DoSort := odd(acol);
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  DBAdvGrid1.Options := DBAdvGrid1.Options +  [goColMoving];
  DBAdvGrid1.SortSettings.Show := true;
end;

If a problem persists with the latest version, can you please provide more details for how to reproduce this?