AnyDAC
ContentsIndexHome
PreviousUpNext
TADScript.OnConsolePut Event

The event allows to produce an end-user output.

Group
Links

Use the OnConsolePut event to produce an end-user output. 

AMessage - a message output to an end-user. 

AKind - the output message kind. 

If the ScriptDialog is specified, then it will show an end-user output, additionally to the OnConsolePut event handler.

property OnConsolePut: TADConsolePutEvent;
procedure TForm1.ADScrip1ConsolePut(AEngine: TADScript; const AMessage: String; AKind: TADScriptOuputKind);
begin
  mmLog.Lines.AddObject(AMessage, nil);
  Application.ProcessMessages;
end;
What do you think about this topic? Send feedback!