FireDAC.Comp.Script.TFDScript.OnConsoleGet
Delphi
property OnConsoleGet: TFDConsoleGetEvent read FOnConsoleGet write FOnConsoleGet;
C++
__property TFDConsoleGetEvent OnConsoleGet = {read=FOnConsoleGet, write=FOnConsoleGet};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScript |
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.