procedure TForm1.Button1Click(Sender: TObject); begin TaskDialog1.CommonButtons := [tcbOk,tcbRetry]; TaskDialog1.Execute; end;