Hi!
A new problem...
I have tested this
EVENTCODE
this.WebHttpRequest1Response = function (Sender, AResponse) {
var txt = "";
if (AResponse === "SYNC") {
this.WebMemo1.FLines.Add("SYNC!");
};
};
this.WebHttpRequest1RequestResponse = function (Sender, ARequest, AResponse) {
var txt = "";
if (AResponse === "SYNC") {
this.WebMemo1.FLines.Add("Rq SYNC!");
};
};
this.WebHttpRequest1Timeout = function (Sender) {
this.WebMemo1.FLines.Add("Timed out");
};
this.WebHttpRequest1Abort = function (Sender) {
this.WebMemo1.FLines.Add("ABORTED!");
};
INITZ
this.WebHttpRequest1.FTimeout = 20000;
this.WebHttpRequest1.FOnAbort = rtl.createCallback(this,"WebHttpRequest1Abort");
this.WebHttpRequest1.FOnResponse = rtl.createCallback(this,"WebHttpRequest1Response");
this.WebHttpRequest1.FOnRequestResponse = rtl.createCallback(this,"WebHttpRequest1RequestResponse");
this.WebHttpRequest1.FOnTimeout = rtl.createCallback(this,"WebHttpRequest1Timeout");
The event code is suppose to just give a sign of life if anything happens..
INITZ is the initzializatrion part according to WebCore
EVENT s the EVENT testing chain according to WebCore
Absolutley nothing happens ever!
this.WebHttpRequest1.FTimeout = 20000;
I expect this variable to be in milliseconds ??
Anyone have a better luck ?
//Bosse