FireDAC.Phys.IBBase.TFDIBService.OnProgress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnProgress: TFDPhysServiceProgressEvent read FOnProgress write FOnProgress;

C++

__property Firedac::Phys::TFDPhysServiceProgressEvent OnProgress = {read=FOnProgress, write=FOnProgress};

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
FireDAC.Phys.IBBase TFDIBService

Description

Specifies the event handler allowing you to handle the DB server feedback.

Use the OnProgress event handler to handle the DB server feedback, produced by the different services.

Additionally, it is required to set FireDAC.Phys.IBBase.TFDIBBackup.Verbose or FireDAC.Phys.IBBase.TFDIBRestore.Verbose to True.

Example

FDIBBackup1.DriverLink := FDPhysIBDriverLink1;
// set host, database, etc properties
FDIBBackup1.Verbose := True;
FDIBBackup1.OnProgress := Form1Progress;

procedure TForm1.Form1Progress(ASender: TFDPhysDriverService; const AMessage: String);
begin
  Memo1.Lines.Add(AMessage);
  Application.ProcessMessages;
end;

See Also