Bonjour,
J'obtiens une erreur EInvalidPointer quand je quitte le programme alors que tout fonctionne parfaitement???
1 2 3 4 5 6 7 8 9 10 11
| ArrivedGrid.clearAll;
ArrivedGrid.rowcount:=1;
for r := 1 to SiteAll.RowCount-1 do
if (SiteAll.cells[10,r]<>'') AND (SiteAll.cells[11,r]<>'') then
begin
ArrivedGrid.RowCount:=ArrivedGrid.RowCount+1;
ArrivedGrid.Rows[ArrivedGrid.RowCount-1]:=SiteAll.rows[r];
SiteAll.RowHeights[r]:=0; //0
end;
ArrivedGrid.Refresh; |
Il semble que ce soit la ligne
ArrivedGrid.Rows[ArrivedGrid.RowCount-1]:=SiteAll.rows[r];
qui pose problème...
Qui a une idée?

Merci 
PhilLU
Partager