FireDAC.Comp.Script.TFDScript.OnProgress
Delphi
property OnProgress: TNotifyEvent read FOnProgress write FOnProgress;
C++
__property System::Classes::TNotifyEvent OnProgress = {read=FOnProgress, write=FOnProgress};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScript |
Description
The event is fired while a script engine is processing a script.
Use the OnProgress event handler to show a script processing progress to an end-user.
In the event handler, an application can read the TotalJobDone, TotalJobSize, TotalPct10Done properties to get information about how large the full job is and what part of it is already done.
If ScriptDialog is specified, then it shows a script processing progress, additionally to the OnProgress event handler.