FireDAC.Comp.Script.TFDScript.OnConsoleGet

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 OnConsoleGet: TFDConsoleGetEvent read FOnConsoleGet write FOnConsoleGet;

C++

__property TFDConsoleGetEvent OnConsoleGet = {read=FOnConsoleGet, write=FOnConsoleGet};

Description

The event allows the end-user to enter a value.

Use the OnConsoleGet event to get an end-user input. For the moment, this is required for the ACCEPT control command.

  • APrompt - a text used as a prompt to the end-user.
  • AResult - a text provided by the end-user.

If ScriptDialog is specified and OnConsoleGet is not specified, then the script dialog asks the end-user for an input.

See Also