FireDAC.Comp.Script.TFDScript.ScriptDialog

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ScriptDialog: TFDGUIxScriptDialog read FScriptDialog write SetScriptDialog;

C++

__property Firedac::Comp::Ui::TFDGUIxScriptDialog* ScriptDialog = {read=FScriptDialog, write=SetScriptDialog};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
FireDAC.Comp.Script TFDScript

Description

A reference to a script feedback dialog.

Use the ScriptDialog property to set a reference to the TFDGUIxScriptDialog instance. The dialog allows the script engine to communicate with the end-user. The interface implementation provides a standard implementation for the following events:

GUI applications should use TFDGUIxScriptDialog and set its Provider property to 'Forms' or 'FMX'. Console applications should set it to 'Console'.

Note that if a dialog is created not at design time, but at run time, then the application should include:

  • The FireDAC.VCLUI.Script unit for VCL applications.
  • The FireDAC.FMXUI.Script unit for FireMonkey applications.
  • The FireDAC.ConsoleUI.Script unit for console applications.

See Also