FireDAC.Comp.Script.TFDScript.OnProgress

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
Unit: FireDAC.Comp.Script
Parent: TFDScript

Delphi

property OnProgress: TNotifyEvent read FOnProgress write FOnProgress;

C++

__property System::Classes::TNotifyEvent OnProgress = {read=FOnProgress, write=FOnProgress};

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.

See Also