if (confronta > 0.001) or (confronta <-0.001)
then begin
LbErr.Visible:=true;
LbErr.Caption:='Errore Costo - Fondo - Residuo';
LbErr.Autosize:=True;
Sleep (2000);
LbErr.Visible:=false;
end;
Application.ProcessMessages;