I have a problem. When I click on the buttons used interface is working properly, I want to do this work automatically using xxx.click but it does not work properly. What is the difference between?

```
if pos(hexFileVersion, currentFWVersion) = 0 then
begin
  Memo1.Lines.Add('Versions are different from each other, updating...');
  btnReset.Click;
  sleep(500);
  btnCaptureTarget.Click;
  sleep(500);
  BProgram.Click;
  sleep(200);
  BResetLIA.Click;
end;

```