Hi,
i have an issue with the advstringgrid. The OnEditCellDone-Event triggers twice.
To exclude a problem within my own source i created an testapp. The bug occurs also in the Testapp.
I'm using Delphi7.
I created a Testapp with one form only with an AdvStringgrid and this two events:
procedure TForm1.grd1CanEditCell(Sender: TObject; ARow, ACol: Integer; var CanEdit: Boolean);
begin
CanEdit := (ARow > 0) and (ACol = 2);
end;
procedure TForm1.grd1EditCellDone(Sender: TObject; ACol, ARow: Integer);
begin
Showmessage('grd1EditCellDone');
end;
I expected the "Showmessage" only one time, but it shows up twice, after edit one cell in Col "2".
What can I do?
Ansgar