TAdvStringGrid: OnCanSort wrong event

In the new version 8.4.0.0 the event OnCanSort does not start clicking on head Column, but it start on grid.doubleclick. Is this a wrong issue ?

I cannot reproduce this.
Was tested on a default grid with code:


procedure TForm1.AdvStringGrid1CanSort(Sender: TObject; ACol: Integer;
  var DoSort: Boolean);
begin
  outputdebugstring('can sort');
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  advstringgrid1.SaveFixedCells := false;
  advstringgrid1.LoadFromCSV('e:\tms\temp\cars.csv');
  advstringgrid1.SortSettings.Show := true;
end;

and this OnCanSort event is triggered on a single click on the column header.

I don't know...reinstalling 8.3.3.0 version it works again.

I want to let you know that I'm using a Dbadvstringgrid.

I have retested this with the demo ADOSort in the DBAdvGrid samples folder and the OnCanSort event is also triggered in this sample. So, please provide sufficient details to allow us to reproduce & investigate this here.

I ran the same demo 'AdoSort' just now. 

The OnCanSort event is triggered, but it does not sort any  column, Have you tried ?

This is unrelated to the OnCanSort event handler. To enabled direct ADO based sorting in this demo, open TMSDEFS.INC in your TMS Component Pack source folder and remove the line {$DEFINE TMSNOADO}