Sample 73 ...
Activate row deltion - Navigation.AllowDeleteRow := true;
procedure TForm1.AdvStringGrid1RowChanging(Sender: TObject; OldRow, NewRow: Integer; var Allow: Boolean);
begin
listbox1.AddItem(Format('RowChange from %d to %d',[OldRow, NewRow]),nil);
end;
Now try and delete a row - pressing DEL or CTRL+DEL
Notice that Rowchanging event is triggered for last rowindex ....
This happens before I can get the OnAutoDeleteRow event.
Is this expected behaviour?