FireDAC.Comp.Script.TFDScript.OnPause

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 OnPause: TFDPauseEvent read FOnPause write FOnPause;

C++

__property TFDPauseEvent OnPause = {read=FOnPause, write=FOnPause};

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.

See Also