delagoutte Posted August 22, 2016 Share Posted August 22, 2016 Hello, i need 2 application that could communicate between themself. I try create a prototype. I create a unigui app (salve app) with a memo and on mainForm i use onajaxEvent procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin UniMemo1.Lines.Add(EventName+' : '+Params.Text); end; i create a second app(master app) with a uniurlframe with URL property : the adress of slave app i add a unibuton with this code procedure TMainForm.UniButton1Click(Sender: TObject); begin UniSession.AddJS('ajaxRequest('+UniURLFrame1.jsname+', "_CustomWEvt", ["Param1=Value1"])'); end; the slave app don't receive "_CustomWEvt" from master app. What is not correct? How can communicate from slave app to master app ? Projects code in join file Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.