Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by TiGü,
6. Aug 2018
Alternativ kannst du auch RESTRequest.SynchronizedEvents := True; schreiben und damit schon alles gelöst haben.
/// <summary>
/// Specifies if Events (such as OnAfterExecute) should run in the context of the main
/// thread (true) or in the context of an arbitrary thread - which was created by the developer or by using
/// ExecuteAsync.
/// </summary>
// <seealso...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by TiGü,
6. Aug 2018
Schau dir mal die Parameterliste und die im Quelltext integrierte Doku von ExecuteAsync in der Klassendefinition an, dann geht dir ein Licht auf. :idea:
uses
REST.Client,
REST.Types,
IPPeerClient,
System.Json;
procedure TForm3.Button1Click(Sender: TObject);
var