|
AnyDAC
|
Specifies the event handler allowing to communicate with the DB server.
Use the OnProgress event handler to communicate with the DB server. The event handler receives arguments:
property OnProgress: TADASAProgressEvent;
procedure TForm1.ADASABackup1Progress(ASender: TObject; AMessage: string; AKind: TASAToolMessageKind; var AResult: Integer); begin if Memo1 <> nil then Memo1.Lines.Add(AMessage); if AKind = tmConfirm then if MessageDlg(AMessage, mtConfirmation, mbYesNo, -1) = mrYes then AResult := 1 else AResult := 0; end;
|
What do you think about this topic? Send feedback!
|