FireDAC.Comp.Script.TFDScript.OnPause
Delphi
property OnPause: TFDPauseEvent read FOnPause write FOnPause;
C++
__property TFDPauseEvent OnPause = {read=FOnPause, write=FOnPause};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScript |
Description
The event fires when a script engine needs to make a pause in the script execution.
Use the OnPause event handler to make a pause in the script execution, as result of the PAUSE <prompt> script command call.
For a GUI application, an OnPause event handler can show a message box using the ShowMessage procedure call. For a console application, the OnPause event handler can use the WRITELN / READLN RTL procedures.
If ScriptDialog is specified and OnPause is not specified, then the script dialog asks an end-user to wait.