Below is the example file!
Note that it makes a request to the javascript agentCliSiTef.js
I need to get the return from the criaSessao function that is inside the agentCliSiTef.js file.
It would be possible?
test javascript.zip
Thanks for the help! But what would it look like to call a function that is inside my test.js file?
The function would be
function StartTransaction(type, function, vpsJson)
{
}
In the end I would get your return!
I need to execute a java script code and get its return as soon as the exception ends. Is it possible to do this action?
I can already execute the javascript using the code below, but I need to get its return as soon as it finishes executing.
with JSInterface do WebForm of TUniForm
begin
JSCallGlobal('criaSessaoIdJson', ['']);
end;
Is it possible to call a secondary screen and the processing will only continue when closing the screen? Equivalent when I do desktop vcl?
I set up an example in VCL to make it easier to understand!
EX: It is a processing that is in a loop, this loop stops as soon as a secondary screen appears. It will stay put until the user gives ok to the answer! How would you do in Unigui?
teste showmodal.zip
I'm having the same problem! I tried the suggestion above but it gave the same error.
Would it be this way?
UniDateTimePicker1.JSInterface.JSConfig( 'addCls' , [vrsJsCall]);
Thansk's